Reduce memory footprint
Hi, I'm running Zenbot on a Raspberry Pi 3 and I can't run more than 2 instances of Zenbot without crashing due to the limited amount of memory (also the MongoDB uses lots of it...) so I don't know if its possible to reduce the quantity of memory used by the software or if it can be improved in some way. Maybe it's possible to compile some modules and left them compiled so they aren't executed using Node, change the database...
You can try to reduce the MongoDB cache size (--wiredTigerCacheSizeGB). It is AFAIK set by default to 50% of the system RAM.
Anyway each node process uses at least 120mb
uses at least 120mb
Wooha...mine are all between 40-60 mb, even after a couple of days and a few thousand trades
a 13% of memory in the raspberry means 13% of 1GB... so its aprox 130mb.
- Exact command to reproduce:
What selector are you using?
I use only Poloniex.str-btc and Bitstamp.eth-eur. Is this relevant?
Is this relevant?
Dunno but it definitely helps reproduce whatever you are doing.