According to this link log_gc does not work anymore on latest node(v8)
Node.js has this following option v8-option:
--log_gc (Log heap samples on garbage collection for the hp2ps tool)
I tried to run it, but now I would like to know how use(view) this data? what is hp2ps? I did a google search and found some sort of haskell tool?
This generates a PostScript file. This postscript file is then viewable with the hp2ps tool, indeed written in Haskell. It allows you to view graphs related to the memory.
PostScript is a language that allows you to render documents similar to PDF.