[Dojo-interest] dijit.Dialog memory leak in Internet Explorer
Ben Hockey
neonstalwart at gmail.com
Wed Jun 16 20:24:46 EDT 2010
do you have a minimal test case that demonstrates this?
On Jun 16, 2010, at 5:05 AM, zeiss wrote:
>
> Thanks for your reply.
>
> The problem is that it is hard to determine which particular objects
> hold
> references to destroyed dialog. I am using http://home.orange.nl/jsrosman/
> sIEve to track references, but this tool shows only references
> count, not
> objects that keep these references.
>
> I changed the code according to your recommendations but still observe
> memory leaks. For example, when dialog is opened sIEve shows 6
> references to
> div with id 'dijit_Dialog_0' (dialog's div). When dialog is closed
> some
> dialog-related elements are freed (title bar, close icon, etc.), but
> there
> are still 6 references to 'dijit_Dialog_0'. For some reason,
> reference count
> only decreases when new dialog is opened - in that case there would
> be 1
> reference to 'dijit_Dialog_0' remaining.
>
> I hardly understand why references are not immediately released when
> dialog
> is destroyed and what object holds the remaining reference.
>
> Do you have any suggestions how to find that object?
> --
> View this message in context: http://dojo-toolkit.33424.n3.nabble.com/dijit-Dialog-memory-leak-in-Internet-Explorer-tp898486p899372.html
> Sent from the Dojo Toolkit mailing list archive at Nabble.com.
> _______________________________________________
> FAQ: http://dojotoolkit.org/support/faq
> Book: http://docs.dojocampus.org
> Dojo-interest at mail.dojotoolkit.org
> http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
More information about the Dojo-interest
mailing list