[Dojo-interest] Memory leaks in Javascript-created widgetsandevent handlers?

Alex Russell alex at dojotoolkit.org
Fri Jan 5 05:11:49 MST 2007


Aaron,

how were you creating widgets? From script? Declaratively?

Also, is there any chance I can beg a formal bug report out of you on 
this issues with, perhaps, a test case?

Regards

On Thursday 04 January 2007 6:46 am, Aaron Evans wrote:
> On 1/3/07, mengel at notes.cc.sunysb.edu <mengel at notes.cc.sunysb.edu> 
wrote:
> > One thing I've found.  I've timed my functions and it seems the
> > create time increases exponentially each time the function is
> > called.  Your video seems to show the same thing, however I haven't
> > run your code on my machine to test.  It seems as though a list is
> > being searched, and added to each time the function is called.
>
> Hmm, interesting. I think I have been seeing the same thing.  I have
> an application where the number of widgets that are created in a page
> is arbitrary.
>
> n some instances there may be around 50 or so and I've found that
> page load time is insanely long, and seems to be, as you said,
> exponentially longer. Haven't had much time to dive into it yet
> though.  For this particular interface, we may have to abandon using
> widgets for this reason...

-- 
Alex Russell
alex at sitepen.com     A99F 8785 F491 D5FD 04D7 ACD9 4158 FFDF 2894 6876
alex at dojotoolkit.org BE03 E88D EABB 2116 CC49 8259 CF78 E242 59C3 9723
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://dojotoolkit.org/pipermail/dojo-interest/attachments/20070105/5f358d9d/attachment.pgp


More information about the Dojo-interest mailing list