From: Scott A. L. <sc...@sc...> - 2000-11-05 20:08:14
|
I've noticed that Netscape does have a memory leak here. Even though the physical layers are destroyed on a resize or reload, Netscape keeps incrementing the count until it dies. I don't think NS manages it's memory very efficiently in this regard. scottandrew -----Original Message----- From: Robert Rainwater <rra...@ya...> To: Rob Romanek <dyn...@li...> Date: Saturday, November 04, 2000 11:31 PM Subject: Re: [Dynapi-Dev] Updated dynlayer and dyndocument > > >> Hey I just threw this into my files fired up Netscape opened up the gui.menulist, and >> resized away...Yeah!!! the layers are recreated....but if I keep doing over and over, >> the redraw of the layers slow down, until at about the 10th time it stops redrawing, >> is the recreateall, reusing the previous layers or creating new ones? if it is >> creating new ones could it be the old ones are not being killed off and hence the >> slowdown and freeze as you clog the browser with layers >> >> If you reload or move to a new page and back everything is fine so hopefully, for now >> users won't resize 10 times while on the same page :-) > >Recreateall does actually recreate the layers in Netscape. And the >function that is used, createElement, could probaly use some more optimization. > >A lot of it could just be a Netscape memory allocation thing, too. But, I >see several places that the dynlayer can be fixed so that the creation >will speed up. Hopefully I fix some of these early next week and post >them. I haven't really tested my update to much, but hopefully >someone will find some optimizations as well. > >\\Robert > >-- > > >_______________________________________________ >Dynapi-Dev mailing list >Dyn...@li... >http://lists.sourceforge.net/mailman/listinfo/dynapi-dev > |