Do any web browsers garbage collect removed dom elements? (as opposed to Javascript objects)

If one made a web application that never refreshed a page but was built completely from the first page plus Javascript requests, thereby creating and destroying elements as required, would any of the browsers reuse the memory used by the obsolete dom elements?

Is this planned in any browsers yet?

I'm thinking that full blown extJS apps would be very sensitive to this kind of memory leakage.

Is there any truly effective re-use strategy to mitigate this problem?

I'm not referring to Javascript object garbage collection here, only removed DOM elements, but I'm not sure if that is essentially the same thing in the end.

Answers


It looks like Chrome does this: http://jsfiddle.net/GaPLT/1/.

Memory usage:

  1. Start: 45K
  2. After adding: 60K
  3. After removing: 49K

Need Your Help

Mysql Exception in JAVA project

java mysql exception

In a simple java application with jdbc and mysql only I am getting error :

Configuring ASP.NET Application Settings with VBScript/WMI

asp.net vbscript iis-6 wmi

I have a legacy website creation script written in VBScript which configures a number of virtual directories on the default web site using WMI. I now have a requirement to configure the virtual

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.