node-heapdump
node-heapdump copied to clipboard
Brief explanations
I think it would be great to see a little section faq in README.md. Shallow size and retained size may be a good way to start.
Personally, I have dumps from 1 node.js process that are from 3mb to 67mb and chrome says they all 5.4mb. At the same time rss is increasing over time. I have no idea if I should worry about it or gc will do its work at some moment in the future.
heapdump triggers a full GC prior to writing the snapshot to disk. That's why you will see your dump size being different from your rss. you should monitor your process over a long period to see whether there are any leaks.