Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by wangran on Dec 28, 2009 21:58
open dhtmlx forum
How to free memory once my dhtmlxwindow is closed.

Hi,
In my application i have included a html page in my dhtmlxwindow as below..

win.attachObject(divId);


now when i open this dhtmlxwindow some memory gets used by my browser . I am monitoring the memory usage on the WINDOWS Task Manager. But when i close the dhtmlxwindow by calling
win.close();
the memory usage does not reduce. I open many dhtmlxwindows in my application and as i keep working the memory usage keeps increasing for my browser. Pls let me know how can i release or free memory when i close a dhtmlxwindow. For grids on my page i use mygrid.destructor();

Is there anything similar i can use...? pls help?

The version I used is 2.1
Answer posted by dhxSupport on Dec 29, 2009 08:12
Similar issue was fixed at dhtmlxWindow 2.5. Please update your files http://www.dhtmlx.com/docs/download/dhtmlxWindows.zip
If issue still occurs provide us complete example where we can reconstruct it. Please check what complete demo must contain here http://www.dhtmlx.com/docs/support/what_is_a_completed_demo.htm
Answer posted by wangran on Dec 31, 2009 02:25
My browser is ie, and when I close a window, call the method wins.unload (), but the memory still not released, there is a way to solve Mody?
Answer posted by Alex (support) on Jan 04, 2010 05:27
Please provide the sample to recreate the issue. It can be also send to support@dhtmlx.com