Application exited with signal: killed (out of memory)
Application process starting, version 172```
It is happening during a long process. It doesn't happen at the same time or place each time a try it.
I'm hosted with one compact container on Galaxy.
I'm not sure what else you may need to know to help me.
My app in production has also been restarting automatically multiple times per day due to “out of memory”, so I’m waiting eagerly for version 1.4.4.2 to be released.
I’m thinking that the “out of memory” problem is caused by this:
Node (V8) uses a lazy and greedy garbage collector. With its default limit of about 1.5 GB, it sometimes waits until it absolutely has to before reclaiming unused memory. If your memory usage is increasing, it might not be a leak - but rather node’s usual lazy behavior.
You can try to pass some flags when starting the app with node. One example provided in that article is:
Error: Cannot find module '/app/bundle/server.js’
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Function.Module.runMain (module.js:441:10)
at startup (node.js:140:18)
Recently we had a similar issue and it was hard to debug. But ultimately we’ve found it was because we had a wrong query with fetch that returned millions a documents and starter to process them and choked the server.