Hi I used to work on the same kind of app : Full ajax, no reload etc
I came accross "javascript memory validator": *http://www.softwareverify.com/javascript/memory/index.html* I did not use it much, but it gave me some good hints Also , I cant work on js apps without dynatrace, which is always useful to help understanding what is happening http://ajax.dynatrace.com/ajax/en/download/download.aspx -olivier On Tue, May 17, 2011 at 7:12 PM, Andrew <[email protected]> wrote: > I have a large OO Javascript application. No page reloads, lots of > AJAX, DOM manipulation, jQuery etc. > > I'm looking for the ability to analyse the Javascript heap, so I can > work out where I lose memory as my Javascript application is being > used. I know most of my leaks come from closures, after using the heap > snapshot capability in Chrome (http://zetafleet.com/blog/google- > chromes-heap-profiler-and-memory-timeline). > > However, Chrome's tool isn't great at determining where in my code > these closures still exist, so its a case of snipping out bits of code > repeatedly till you find what works. Which is a very time consuming > way of doing things. > > Ideally, I would want a list of closures that are still in memory, and > a reference the code that created them. A tree coming from the garbage > collector's roots showing how every object in memory is reached from > those roots would also be incredible. > > Does anyone know if Firebug can help me here, and if not, what can? > > -- > You received this message because you are subscribed to the Google Groups > "Firebug" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/firebug?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Firebug" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/firebug?hl=en.
