How fast are you reloading? We have code to remove all memory
leak-able code, but if it's reloading too fast, it may never get to
that point.

To our understanding, jQuery doesn't have any known leak points. What
version of jQuery are you using?

--John

On 2/13/07, Michal.Till <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I was investigating a memory leak in my application and unfortunately 
> everything led to jQuery. So I created this simple HTML file:
>
> <html>
> <head>
>  <script src="packages/jquery/jquery-latest.pack.js"> </script>
> </head>
> <body> test </body>
> </html>
>
> Then I started Drip, the IE Leak Detector 
> (http://outofhanwell.com/ieleak/index.php?title=Main_Page) and hit the 
> auto-refresh button. I was very surprised while viewing the memory 
> consumption in Process Explorer (by SysInternals, now Microsoft) (the 
> "private bytes" graph, that is the real allocated memory). It was climbing up 
> and up and up... about 0.2-0.5 MB each reload. (I like the Process Explorer 
> more than the memory graph provided by Drip).
>
> Remember, Drip is far from 100% reliable. It's function "Show DOM leaks" 
> shows only some and even if it shows nothing, the app can be still leaky. 
> Actually, it showd one element leaking, that one mentioned in 
> http://jquery.com/dev/bugs/bug/705/ . I don't know how this bug was resolved 
> and I think that it's not connected with the general leak in the upper code. 
> If I add the line suggested in mentioned bug site, this record of leaking 
> <SCRIPT id=__ie_init src="//:" defer __drip_hooked="true"></SCRIPT> goes 
> away, but as I said, AFAIK it has nothig to do with the main problem.
>
> Thanks for answering,
> Michal Till
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to