Memory leak on Render.com server #8973
Replies: 2 comments 1 reply
-
Do anything happen at that CPU spike? That CPU spike also happen when your memory reduce, so my guess is nodes start their Major GC and your memory return to normal afterward. This is normal for Nodejs, but Nodejs GC can also block main thread so server might become unreponsive during that time. |
Beta Was this translation helpful? Give feedback.
-
Any updates on this or tips on how to handle it? We are also experiencing this issue, and when the garbage collection happens the requests to the server time out and return 500 errors. I've checked the memory dump in Google Cloud, but I couldn't find anything that would take up considerable share of the heap space. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I deployed a Remix app on Render.com as a node app, not serverless. The memory usage increases over time, and it seems like a memory leak. Is this normal, and if not, how can I identify the part of the code causing it? I'm new to tracing memory leaks with node.js apps. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions