views:

39

answers:

1

Hello,

I have a memory leak issue in a rather complex javascript project and am hoping that there are tools that could help me pin-point the cause of the problem.

I have tried the google chrome developer tool Profile tab, where I can take snapshots of the HEAP and diff it with previous snapshots. (check http://www.youtube.com/GoogleDevelopers#p/c/B9EC47A6AAE4540F/1/OxW1dCjOstE for a jumpstart on that feature)

I can see the memory drain with this tool but from there I can't find a way to detect where the references to my objets are kept (probably in closures).

My question is : what tools do you use for javascript memory leak debugging ? Is there a tool that could let me see the references and a bit of source code of where they are held ?

Thank you for your help

Jerome Wagner

A: 

Have a look at https://addons.mozilla.org/en-US/firefox/addon/2490/ I have not tried it but it seem to have some good features.

anand
I will give it a try but it seems dedicated to a specific type of leak with inter-window references when a window closes. my app is a 1 window ajax app that never closes
Jerome WAGNER