Thursday, September 20th, 2007
Jon Sykes happened across another IE 6 leak to do with form tag orphans. The bug means that (as of yet) there seems to be no way of removing a FORM tag from the DOM without it resulting in an orphaned node and increased memory consumption.
It seems to have minimal documentation, and I can’t see any obvious solution.
If you have a â€œweb applicationâ€ that uses any form of partial page loading, and the content you are loading contains any form elements, in IE6 memory usage will climb as you use the app, leading to initially a sluggish browser and finally total terminal failure.
As many of the toolkits these days come with this style of content loading mechanism (take for example my toolkit of choice dojo, with itâ€™s contentPanes), itâ€™s very easy to get into a situation where your webapp will be unacceptable to folks using IE.
It’s been a tough week for memory leaks.
Posted by Dion Almaer at 5:38 am