I am trying to increase the limit of memory used in my app before to have a server crash: out of memory.
We are hosted on clever cloud on an instance that has 4gb RAM. Recently we had a memory leak (this will be solved) but I could use this time to check that the server had the error “Server Crash - Out of memory” while reaching only 512MB (approx) which I think is the inbuilt node limit.
I tried to set up the following environment variables throught the clever cloud console:
NODE_OPTIONS : --max-old-space-size=4096
or
GALAXY_NODE_OPTIONS : --max-old-space-size=4096
But nothing worked, the server always crashed at 512Mb usage:
Any idea how we could raise the limit ?