phoenix-os-bitburner icon indicating copy to clipboard operation
phoenix-os-bitburner copied to clipboard

Bitburner 1.4.0 - phonix.js requires 8.5gb ram :(

Open lsv opened this issue 3 years ago • 2 comments

In a TOTAL new instance - run phoenix.js can not run on home, because it requires 8.5gb ram.

// kill all non-phoenix files on boot
     servers.map(server => server.pids).flat()
        .filter(process => process.filename != "phoenix.js" && process.filename != "sbin.keepalive.js")
        .forEach(process => ns.kill(process.pid));

If this is removed, it will be at 8.0gb ram usage, but then there is not enough ram to run sbin.keepalive.js.

Also it tries to run something on the lowest server, but with 0 threads - and thats an exception.

disableLog: Disabled logging for scan
exec: Cannot run script 'sbin.keepalive.js' (t=1) on 'home' because there is not enough available RAM!
keepalive not found
exec: Could not find script 'bin.gr.loop.js' on 'n00dles'
sleep: Sleeping for 100 milliseconds
exec: Could not find script 'bin.wk.loop.js' on 'n00dles'
sleep: Sleeping for 100 milliseconds
exec: Could not find script 'bin.gr.loop.js' on 'foodnstuff'
sleep: Sleeping for 100 milliseconds
exec: Invalid thread count. Must be numeric and > 0, is 0
Script crashed with runtime error

Ill see what happens when I get a million to upgrade the home ram :)

lsv avatar Jan 26 '22 13:01 lsv