-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory Leak Help #21
Comments
Can you post numbers? Is it VMEM or RSS that is growing? Have you tried node-inspector or node-heapdump yet? |
when i have a fresh deploy: after one day: after a couple of days i had 30% memory usage (1GB max): we played only with memwatch a little. but i thought there is an obvious memory leak problem in the code. if you say "no there isn't", i will investigate using more tools. thanks a lot! |
@kirrg001 What OS are you running and which Node version? |
node v0.10.33 |
Here is an example on how to use v8-profiler to create heapdumps if memory is constantly climbing: https://gist.github.com/danielkhan/0a98ae0ae2b5ddfd443e You can the load this into chrome developer tools. Try to get 3 dumps. one from the start, one after some time and one after an equal amount of time. Here's also a slide deck on this topic: www.slideshare.net/DanielKhan3/hunting-performance-problems-in-nodejs. |
300 MB RSS doesn't seem that out of the ordinary to me. The garbage collector will opportunistically grow the heap so it's not unexpected that RSS (and VMEM too) go up over time. It should plateau when it reaches the hard limit (~1.5 GB by default, configurable with |
hey!
i discovered that one of my files is causing a memory leak. the memory grows over days. i'm checking everyday with htop and it grows every day more and more. i don't understand what is the reason for the memory leak. i hope somebody can help me.
Thanks
kirrg
The text was updated successfully, but these errors were encountered: