Skip to content
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

Monit reports diffent memory usage #72

Closed
Sorrow opened this issue Aug 12, 2013 · 1 comment
Closed

Monit reports diffent memory usage #72

Sorrow opened this issue Aug 12, 2013 · 1 comment

Comments

@Sorrow
Copy link

Sorrow commented Aug 12, 2013

Hi there,
i use pm2 in both local and on a ec2 instance and i have a very weird memory consumption difference between those two (using same node v, same modules and same v of modules and so on on both). When using on prod, pm2 monit reports without any client connected, 40MB at start and increases 400kb per request. On local i am very far from those numbers (about 40kb at start, nothing really noticeable at each request). At first, i was thinking it could be a huge mem leak but i don't really know how it could be since i am not manipulating huge arrays or files (and null-fying any thing i can).
Maybe someone could enlighten me on this ?
Thanks.

e: oh forgot to mention i am running osx in local, maybe the difference is related to node-usage not being updated ?

@Sorrow
Copy link
Author

Sorrow commented Aug 13, 2013

It seems node-usage 3.5.7 was the culprit, changed for 3.5.8 from #73 and it shows more coherent stats.

e: btw the memory leak was because i was still using memorystore and didn't use node env to get notified about it when launching in prod.

@Sorrow Sorrow closed this as completed Aug 13, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant