What are some of best Javascript memory detecting tools?

Posted by Philip Fourie on Stack Overflow See other posts from Stack Overflow or by Philip Fourie
Published on 2010-03-08T06:29:48Z Indexed on 2010/03/08 6:36 UTC
Read the original article Hit count: 324

Our team is faced with slow but serious Javascript memory leak. We have read up on the normal causes for memory leaks in Javascript (eg. closures and circular references).

We tried to avoid those pitfalls in the code but it likely we still have unknown mistakes left in our code.

I started my search for available tools but would like input from people with actual experience with these tools.

Some of the tools I found so far (but have no idea how good and useful they would be for our problem):

Our search is not limited to free tools, it will be a bonus, but more importantly something that will get the job done.


We do the following in our Javascript code:

  • AJAX calls to a .NET WCF back-end that send back JSON data
  • Manipulate the DOM
  • Keep a fairly sized object model in the Javascript to store current state

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about memory-leaks