You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 ?
The text was updated successfully, but these errors were encountered:
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 ?
The text was updated successfully, but these errors were encountered: