Webservice shut down

Got this error today in my app:

Oct 13 02:12:41 PM [69:0x627a760] 82440398 ms: Scavenge (reduce) 240.7 (255.8) → 240.7 (255.8) MB, 17.5 / 0.0 ms (average mu = 0.956, current mu = 0.961) allocation failure
Oct 13 02:12:41 PM [69:0x627a760] 82440401 ms: Scavenge (reduce) 240.8 (254.8) → 240.7 (255.8) MB, 3.6 / 0.0 ms (average mu = 0.956, current mu = 0.961) allocation failure
Oct 13 02:12:41 PM [69:0x627a760] 82440495 ms: Scavenge (reduce) 241.6 (254.8) → 241.5 (255.8) MB, 2.5 / 0.0 ms (average mu = 0.956, current mu = 0.961) task
Oct 13 02:12:41 PM
Oct 13 02:12:41 PM
Oct 13 02:12:41 PM <— JS stacktrace —>
Oct 13 02:12:41 PM
Oct 13 02:12:41 PM FATAL ERROR: MarkCompactCollector: young object promotion failed Allocation failed - JavaScript heap out of memory
Oct 13 02:12:41 PM
Oct 13 02:12:41 PM <— Last few GCs —>
Oct 13 02:12:41 PM
Oct 13 02:12:41 PM [69:0x627a760] 82440398 ms: Scavenge (reduce) 240.7 (255.8) → 240.7 (255.8) MB, 17.5 / 0.0 ms (average mu = 0.956, current mu = 0.961) allocation failure
Oct 13 02:12:41 PM [69:0x627a760] 82440401 ms: Scavenge (reduce) 240.8 (254.8) → 240.7 (255.8) MB, 3.6 / 0.0 ms (average mu = 0.956, current mu = 0.961) allocation failure
Oct 13 02:12:41 PM [69:0x627a760] 82440495 ms: Scavenge (reduce) 241.6 (254.8) → 241.5 (255.8) MB, 2.5 / 0.0 ms (average mu = 0.956, current mu = 0.961) task
Oct 13 02:12:41 PM
Oct 13 02:12:41 PM
Oct 13 02:12:41 PM <— JS stacktrace —>
Oct 13 02:12:41 PM
Oct 13 02:12:41 PM FATAL ERROR: MarkCompactCollector: young object promotion failed Allocation failed - JavaScript heap out of memory
Oct 13 02:12:42 PM Segmentation fault (core dumped)
Oct 13 02:12:42 PM error Command failed with exit code 139.
Oct 13 02:12:42 PM info Visit yarn run | Yarn for documentation about this command.
Oct 13 02:12:51 PM ==> Starting service with ‘yarn start’
Oct 13 02:12:51 PM yarn run v1.22.5
Oct 13 02:12:51 PM $ node ./bootup.js & TZ=Asia/Kolkata next start -H 0.0.0.0 -p ${PORT:-8080}
Oct 13 02:12:52 PM ready - started server on 0.0.0.0:10000, url: http://localhost:10000
Oct 13 02:12:57 PM ERROR
Oct 13 02:26:31 PM (node:70) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 error listeners added to [Redis]. Use emitter.setMaxListeners() to increase limit

How do I know what is the issue? Any help is appreciated.
Thanks.

Hi @donisback, welcome to the Render community!

It sounds like some other users have run into a similar error before. You may want to look into increasing the value for --max-old-space-size. Some helpful links around this here: Node crashes periodically - #2 by shantanu
You may also want to try temporarily increasing the plan for your service, increasing the memory to see if that has any effect - you can always downgrade later if needed.