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
I start game socket server using forever npm.
I monitor that server day to day. i found that memory increase day to day.
Day 1 : CPU 3.3% ,MEMORY 2.0%
Day 2 : CPU 2.3% ,MEMORY 5.0%
Upper analysis say that memory continuous goes high.
Why memory not release from that server ? Server : - Ubuntu Amazone EC 2(Ubuntu 14.04.4 LTS)
Node Version : - 4.4.4
Npm Version : - 2.15.1
Forever npm version : - 0.15.1
Possibly a memory leak in the code you're running. Or possibly just the nature of a garbage-collected language like JavaScript.
This is unlikely to be a bug in Node.js itself and it's not actionable given the scant details currently provided. I'm going to close this but feel free to:
provide details here that would allow someone to reproduce the issue you are reporting; if you do that, include a request in your comment that you'd like this issue to be re-opened
Activity
JacksonTian commentedon Jun 12, 2017
Please provide more details.
Trott commentedon Jun 12, 2017
Possibly a memory leak in the code you're running. Or possibly just the nature of a garbage-collected language like JavaScript.
This is unlikely to be a bug in Node.js itself and it's not actionable given the scant details currently provided. I'm going to close this but feel free to:
open an issue in https://github.com/nodejs/help to get help figuring out what's happening; (FWIW, I like the article http://www.nearform.com/nodecrunch/self-detect-memory-leak-node/ on tracking down memory leaks)
provide details here that would allow someone to reproduce the issue you are reporting; if you do that, include a request in your comment that you'd like this issue to be re-opened