Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Juan iruegas on Apr 02, 2009 09:22
open dhtmlx forum
dhtmlxWindows component Memory Leak with IE 6.0

Support

We are facing an issue with the dhtmlxWindows component. Each time we open and close a dhtmlxWindow , the memory used by IE 6.0 is increasing significantly, something about 20 MB each time.We are attaching a grid and tab bar inside the dhtmlxwindow.

We found in your knowledge base a similar problem reported, but it doesn’t specify the solution, only mention that solution was sent by email to the user.

Please can you advise in how resolve this issue? or if there is a fix or IE patch recomended?

I already submitted a support request, specifying our reg number and client Name


regards
Answer posted by Alex (support) on Apr 03, 2009 01:44
JavaScript is a language with automatic garbage collection, there is no way to control memory usage from the script itself. 

IE has known issue with AJAX data loading ( the component used for data loading not free memory until page reloaded ) which can't be fixed at all. 

You can try to hide/show window with grid instead of closing it and loading once again.

win.hide();

win.show();