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?