Grid Memory issue


When I load 1000 rows into a grid and IE memory as seen in Windows Task Manager increases… say by 15MB… now I clear the grid using “mygrid.destructor()” it doesnt bring down the memory used… How will know if “mygrid.destructor()” is actually clearing the memory?



Javascript doesn’t allow clear memory directly, call of grid.destructor removed all code and html elements from document, but it will be cleared by garbage collector of IE. Functionality of gargabe collector can’t be controlled directly from js code

the best way to check window’s IE browser has cleared the memory or not, just try to minimize the IE browser window, it will reduce the memory size aswell as it will reflect on task manager, what i personally thinks is it is due to the browser instance get initialized flushes memory by doing theis… :slight_smile: