Comments (7)
AH there's my problem, I'm an idiot and didn't realize contractor.js.solver.js was a separate file entirely. Consider this my request for a installer script.
from bitburner-scripts.
from bitburner-scripts.
Maybe because daemon is using it all for attacks?
[home ~/]> top
Script PID Threads RAM Usage
daemon.js 1 1 5.50GB
stats.js 8 1 3.10GB
/Remote/weak-target.js 1851 10 17.50GB
/Remote/weak-target.js 1855 10 17.50GB
/Remote/weak-target.js 1859 10 17.50GB
/Remote/weak-target.js 1863 10 17.50GB
/Remote/weak-target.js 1867 10 17.50GB
/Remote/weak-target.js 1871 10 17.50GB
/Remote/weak-target.js 2178 130 227.50GB
/Remote/weak-target.js 2179 7 12.25GB
/Remote/weak-target.js 2204 129 225.75GB
/Remote/weak-target.js 2205 7 12.25GB
/Remote/weak-target.js 2216 64 112.00GB
/Remote/weak-target.js 2217 7 12.25GB
/Remote/weak-target.js 2221 161 281.75GB
/Remote/grow-target.js 2222 10 17.50GB
/Remote/weak-target.js 2223 1 1.75GB
/Remote/grow-target.js 2224 13 22.75GB
/Remote/weak-target.js 2225 2 3.50GB
/Remote/weak-target.js 2232 104 182.00GB
/Remote/weak-target.js 2233 7 12.25GB
/Tasks/run-with-delay.js: Failed to spawn "/Tasks/contractor.js.solver.js" with args: [{"contract":"contract-76006-Netburners.cct","hostname":"rothman-uni","type":"Find Largest Prime Factor","data":935542566},{"contract":"contract-858219.cct","hostname":"stormtech","type":"Array Jumping Game","data":[3,6,8,8,3,7,5,0,5,0,2,0,10,3,6,7]},{"contract":"contract-561671.cct","hostname":"b-and-a","type":"Algorithmic Stock Trader II","data":[50,1,81,12,191,147,147,54,39,3,75,16,170,90,47,192,86]},{"contract":"contract-721112-NiteSec.cct","hostname":"ecorp","type":"Array Jumping Game","data":[0,10,2,9,7,0,0,0,9,2,9,0,4,9,7,2,0]},{"contract":"contract-301103-TianDiHui.cct","hostname":"infocomm","type":"Algorithmic Stock Trader III","data":[142,160,129,188,154]},{"contract":"contract-945133-Volhaven.cct","hostname":"infocomm","type":"Sanitize Parentheses in Expression","data":")(((((aa((()(()())(("},{"contract":"contract-434380.cct","hostname":"aerocorp","type":"Algorithmic Stock Trader II","data":[46,181,20,180,72]},{"contract":"contract-470092.cct","hostname":"zeus-med","type":"Find Largest Prime Factor","data":115559195}] (bad file name or insufficient RAM?)
from bitburner-scripts.
Daemon has a setting ['reserved-ram', 32]
which defaults to leaving 32 GB of RAM free on home
make sure not to lower that too much if you want to be able to run a bunch of sporadic scripts.
Aside from that, I've never seen any issues with spawning this, I use it all day every day on two accounts.
Instead of running "top" when it fails run "free" and see how much free ram there is on home. It has to be more than 11.6 GB + 2.6GB for "run with delay" - total 14.2 GB.
If it was just a temporary issue due to e.g. a lot of other sporadic scripts spawning at the same time, perhaps I can add an auto-retry logic to the "run-with-delay" helper.
You can verify that it's sporadic by manually running /Tasks/contractor.js
(which spawns run-with-delay + contract.js.solver.js once it's done collecting contract info) and seeing if it works.
from bitburner-scripts.
I'm not great with code, but I knew it wasn't a memory issue. Even right after killing everything, same error.
[home ~/]> killall
Killing all running scripts
[home ~/]> run /Tasks/contractor.js
Running script with 1 thread(s), pid 17359 and args: [].
/Tasks/run-with-delay.js: Failed to spawn "/Tasks/contractor.js.solver.js" with args: [{"contract":"contract-133841-CentralIntelligenceAgency.cct","hostname":"silver-helix","type":"Subarray with Maximum Sum","data":[1,7,-10,0,8,4,-3,-3,-7,-7,5,1,10,-4,2,-9,1,9,-10,-2,8,3,-1,3,8,0,4,-6]}] (bad file name or insufficient RAM?)
To be fair, I just started this game a couple days ago, can't code for crap, and have no sources unlocked so far, so I know i'm getting a few errors because of source files.
from bitburner-scripts.
from bitburner-scripts.
I've updated git-pull.js now to automatically get all files in the target repository by default, so folks shouldn't have this same issue in the future. Thanks for sharing!
from bitburner-scripts.
Related Issues (20)
- RAM usage error HOT 2
- Autopilot Warning/Error loops HOT 3
- Make work-for-factions.js display remaining time also considering sleeves. [enhancement] HOT 2
- Daemon settings(?) HOT 1
- Provide an option to sync player stats to an external location HOT 1
- suggestion: better progression understanding HOT 1
- autopilot stuck in constant reset HOT 4
- Git-Pull needs to use current working directory HOT 1
- faction-manager.js: Problem with rep cost estimates HOT 3
- faction-manager.js: Trying to join Netburners while not having to requirements
- Repeating warning with Bitburner v2.5.2 HOT 5
- Daemon.js: Non-integer thread count
- Bitbutner v2.6.0dev: Bladeburner skill cost of "null" breaks script
- Stanek's gift not activated automatically HOT 6
- daemon.js: Errors in late BN12.XXX when server initial values are outside of min/max values.
- Idea: utilize new IPvGO game for profit HOT 1
- Post Discord Invite link
- RAM Calculation Error in git-pull.js HOT 1
- Bladeburner.js incorrectly tries to do an action when there is less than 0 count remaining
- Bitburner now kills all scripts on casino save scumming. HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bitburner-scripts.