We have been working in a Node.js game, part of a game network, which seems to be working slower and slower as you keep it open, as well as it seems to increase the RAM and CPU usage over time.

We are assuming it's a memory leak issue/improper use of the data structures within the application.

The question is, how could I detect the source of this type of issue?

  • 1
    \$\begingroup\$ Hey Chris Russo, I changed the scope of the question because software/technology recommendations are off-topic here. \$\endgroup\$ – Vaillancourt Apr 3 '19 at 15:47
  • 1
    \$\begingroup\$ Use a profiler. I can't tell you which one because I don't know exactly what tech your using. But there will be a profiler for whatever environment you are in. \$\endgroup\$ – Almo Apr 3 '19 at 16:03
  • \$\begingroup\$ This looks to me like a general programming question that might get better answers on StackOverflow instead, or might have existing answers there to learn from without any wait at all. \$\endgroup\$ – DMGregory Apr 3 '19 at 17:32
  • \$\begingroup\$ Thanks for your feedback... The application is running on NodeJS, I'm banned from Stack Overflow, otherwise I'd be happy to post there. \$\endgroup\$ – Chris Russo Apr 7 '19 at 7:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.