node-heapdump icon indicating copy to clipboard operation
node-heapdump copied to clipboard

Brief explanations

Open bobrik opened this issue 11 years ago • 1 comments

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.

bobrik avatar Jul 04 '13 13:07 bobrik

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.

geekyme avatar Aug 02 '15 03:08 geekyme