FATAL ERROR: invalid array length Allocation failed - JavaScript heap out of memory

Hello Everyone,

My app (lot of traffic) is crashing and showing this error…
I’m using node.js + docker on Digital Ocean.

I research and found this:

I tried to run node --max-old-space-size=4096 app.js # Increase limit to 4GB (as my server memory) but it’s not recognizing this command on Wappler Web Server terminal…

any tip @patrick?

Best

Community Page
Last updated: