Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Bernd on Aug 28, 2007 23:38
open dhtmlx forum
I have a question about memory management. I have a variable numbers of grids on one window, but in different iframes. When closing an iframe i try to clear the grid an remove the gridbox-div from DOM, but the browser does not give memory free. I fill the grids with xml variables, given back from a own ajax routine. After fillling the grid i set the variables to null. I tried IE7 and FF but same behaviour. Did i forget something?

Answer posted by Stanislav on Sep 05, 2007 18:34
Basically grid catches the "unload" event and clear inner vars and remove used DOM elements.
There is no significent problems with FF, in IE garbage collection initiated only when some big count of elements marked for collection, unfortunately there is no way to force such process in IE ( as far as I know )