JavaScript: How can I determine what objects are being collected by the garbage collector?

Posted by shino on Stack Overflow See other posts from Stack Overflow or by shino
Published on 2012-09-22T21:12:48Z Indexed on 2012/09/22 21:37 UTC
Read the original article Hit count: 181

I have significant garbage collection pauses. I'd like to pinpoint the objects most responsible for this collection before I try to fix the problem. I've looked at the heap snapshot on Chrome, but (correct me if I am wrong) I cannot seem to find any indicator of what is being collected, only what is taking up the most memory. Is there a way to answer this empirically, or am I limited to educated guesses?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about google-chrome