A really simple way to visualize garbage collection details from your Node.js application is to capture the data to file and then load that data in by u
sing the free Garbage Collection and Memory Visualizer software http://www.ibm.com/developerworks/java/jdk/tools/gcmv/
GCMC is available to install from the Eclipse Marketplace with details in the link above
Online documentation is availbable here
http://www-01.ibm.com/support/knowledgecenter/SS3KLZ/com.ibm.java.diagnostics.visualizer.doc/homepage/plugin-homepage-gcmv.html
To capture the data, use the --trace_gc command-line parameter to generate garbage collection data and pipe to a file. You can additionally specify either the --trace_gc_nvp or --trace_gc-verboseparameters to generate more detailed, single-line or multiple-line information.Once you have the data, load it into GCMV and it will tell you all about the garbage collection activity of you application.
If you need any help or more information, please let me know
Toby