I've been using a javascript window system to make windows appear within a project of mine. within these dragable windows i have iframes which seems a great way to split up into forms, and much more managable. Though i noticed in ie that memory went threw the roof and even page refresh didn't free the memory only closing the browser would. I managed to fix this problem by makeing sure the iframe was connected to the document. There was also another method that worked in freeing memory after a page refresh. Which was putting elements into a div and setting teh div's innerHTML to "". Though it was only on page refresh it freed memory. So instead i reuse iframes now.
Though this brought up alot of quistions. It seems that memory can not be freed untill page refresh with IFrames. Is this the case for all other elements?
In long runnings apps this could be really annoying and it might be worth makeing a pool of objects that should be garbage collected and instead recycle them so when a div is needed again you use that one.
Any Comments or suggestions would be much appreciated.
Though this brought up alot of quistions. It seems that memory can not be freed untill page refresh with IFrames. Is this the case for all other elements?
In long runnings apps this could be really annoying and it might be worth makeing a pool of objects that should be garbage collected and instead recycle them so when a div is needed again you use that one.
Any Comments or suggestions would be much appreciated.
Comment