Zomp Posted April 17, 2007 Share Posted April 17, 2007 I have just installed "Leak memory" extension for FF 2. It advises me when a certain Javascript does not release all the memory when it ends. I recognize that a lot of Javascript/AJAX sites cause leak memory. For example, Gmail. I wonder if even IE suffer of such problem when using Gmail. Link to comment Share on other sites More sharing options...
+Cryton Subscriber² Posted April 17, 2007 Subscriber² Share Posted April 17, 2007 Different applications will leak different things at different times for different reasons. Link to comment Share on other sites More sharing options...
Zomp Posted April 17, 2007 Author Share Posted April 17, 2007 Different applications will leak different things at different times for different reasons. Maybe my question is not sufficiently clear. Can the same javascript cause memory leak in FF but not in other browsers, or viceversa? Link to comment Share on other sites More sharing options...
+Cryton Subscriber² Posted April 17, 2007 Subscriber² Share Posted April 17, 2007 Looks like my answer wasn't sufficiently clear :) You are correct. The same javascript can cause a memory leak in one browser, but not another. Each application is responsible for its own memory management, that is to say, allocating memory for stuff, and then deallocating it when the stuff is no longer relevant. When an application allocates some memory for something, and then fails to deallocate the memory when that something is no longer needed, it results in a leak of some memory. Memory management in big apps is usually very complicated, especially in browsers, and each different browser will manage its memory in a different way, and so leak memory under different circumstances. Link to comment Share on other sites More sharing options...
Zomp Posted April 18, 2007 Author Share Posted April 18, 2007 Looks like my answer wasn't sufficiently clear :)Memory management in big apps is usually very complicated, especially in browsers, and each different browser will manage its memory in a different way, and so leak memory under different circumstances. Thanks for your reply. My English is not enough good to understand your first message. Link to comment Share on other sites More sharing options...
Recommended Posts