Wednesday, December 12th, 2007
We at FCKeditor are constantly fighting against memory leak. We have already fixed several related issues, but we were still facing an expressive memory leak with IE7.
With some intuition, we were able to reduce the problem to a simple test case, and we have sadly found a new memory leak issue *introduced* with IE7.
Essentially, every call to window.createPopup() leaks 80Kb of memory. A test page can be found here:
In the default FCKeditor interface, we use six IE’s popups for all floating panels (toolbar combos and context menu). On pages with several editor instances, the memory increasing is substantial.
As far as we could understand it, there is no way to “cleanup” that leak. We strongly hope IE8 and even IE7 will have it fixed as there is no way to workaround it (I hope I’m wrong!).
Posted by Dion Almaer at 5:49 am