0

When hunting down memory leaks, it is vital to be able to compare the heap state before and after some actions (to make sure that objects are not leaked). When debugging this kind of thing under Java, JVisualVM was immensely helpful, because it could take snapshots of heap usage at the press of a button, and then compare them and show what additional objects appeared in the interim.

Is there such a memory heap differ for JavaScript? I am developing a complex Single Page Application with AngularJS, and need to trace down apparent memory leaks...

1 Answer 1

1

Did you hear about Chrome devtools? https://developers.google.com/chrome-developer-tools/docs/heap-profiling

Sign up to request clarification or add additional context in comments.

1 Comment

Also a link to more specific documentation within the same Dev Tools Docs on JavaScript memory leaks: developers.google.com/chrome-developer-tools/docs/… - The Profiling tool is brilliant if you know where to look through the elaborative information =)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.