Fastboot 'JavaScript heap out of memory'

Our production app using Fastboot App Server (ember-cli-fastboot v1.0.2) is hitting JavaScript heap out of memory. Has anyone else encountered this problem?

We could just put pm2 in front of our Fastboot app and get it to restart on max memory usage, but that’s just a temporary bandage.

Has anyone got any tips on the best way to discover memory leak issues in a Fastboot environment?

Also I’m considering whether something like node-memwatch could be perhaps utilised in Ember CLI to detect memory leaks?

1 Like

Have you tried increasing the heap memory? It’s probably a band-aid too, but it might help for a while.