HighDots Forums  

Re: Memory leak with Javascript + DOM menu in IE

Javascript JavaScript language (comp.lang.javascript)


Discuss Re: Memory leak with Javascript + DOM menu in IE in the Javascript forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
joelgwebber@gmail.com
 
Posts: n/a

Default Re: Memory leak with Javascript + DOM menu in IE - 01-03-2005 , 09:41 PM






If anyone's still paying attention to this thread, I thought I would
add my $0.02, since people seem to keep having this problem over and
over again. The most likely cause is that you've got circular
references that involve both JavaScript and DOM objects (Not to say
it's your fault -- this is really common). I've posted a more detailed
explanation at
http://jgwebber.blogspot.com/2005/01...ike-sieve.html. Hope
this helps!

joel.

Pyrox wrote:
Quote:
Hello all you js gods! As you can tell from the subject i'm having a
memory leak with IE when i try and use my DOM menu system. (i got it
from here .... http://www.mojavelinux.com/forum/viewtopic.php?t=141 )

I've been reading alot about this problem (well what i can find, most
of it right in this group). Could someone maybe help me figure out
why
the menu keeps eating up memory? The memory doesn't get cleared until
the browser is closed, or minimized (heard something about IE taking
pictures of the page to use for smooth scrolling?).

If i get this correctly... When javascript calls a reference to a DOM
object in IE javascript can't "unload" that object when
garbagecllector goes. (right?) So is there a work around to fix this?
Any help is appreciated! If you need more info, let me know! THANKS
AGAIN!!!
Paul


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.