What are some of best Javascript memory detecting tools?
- by Philip Fourie
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):
Sieve
Drip
JavaScript Memory Leak Detector
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