I am able to reproduce this leak as well, and can confirm that it only
happens on IE6 (not 7+). If I use a standard image url rather than a
ClientBundle, the leak goes away. Interestingly, though, it doesn't appear
to be a "standard" circular-ref leak, because Microsoft's own leak detector
doesn't flag it, and the memory is recouped when you navigate away from the
page (IE7+ will try to clean up some kinds of leaks when you leave the page,
but IE6 makes no such attempt).

This implicates the ClippedImageImplIE6 code, which has been a nasty thorn
in our side for some time. I've tried without success to replicate the leak
in a simple Javascript snippet, but that likely means I just haven't stepped
on whatever particular set of problems is causing it.

@Adrien: Would you mind entering an issue for this so we can track it? I'm
likely to use this as another opportunity to push for removing that
god-awful code (see issues 1765, 3236, 3573, and 3588).

Thanks,
joel.

On Fri, Mar 19, 2010 at 10:50 AM, AdrienA <[email protected]> wrote:

> Hello,
>
> I find out a problem with the using of ClientBundle wich produce
> memory leaks in IE6.
>
> To proove that, I have realised a very simple application (you can
> find the source code at this address :
>
> http://google-web-toolkit-contributors.googlegroups.com/web/SampleCode-memoryLeakFromClientBundleOnIE6.zip
> )
>
> In this application, there is just one popup which contains 1000 times
> the same image creating by a ClientBundle.
>
> I open and close several times this popup and I observe the memory
> leaks in IE6 (with the soft "Process Explorer" for example).
>
> The result is alarming :
> http://www.googleonlinestorage.com/pictures/3077dd392df167271d24f526e41b637e.gif
>
>
> Is the problem already known? Maybe there is something to do ?
>
>
> Thank you,
> Adrien AUBRY
>
>
> --
> http://groups.google.com/group/Google-Web-Toolkit-Contributors
>
> To unsubscribe from this group, send email to
> google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to
> this email with the words "REMOVE ME" as the subject.
>

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

To unsubscribe from this group, send email to 
google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this 
email with the words "REMOVE ME" as the subject.

Reply via email to