Hello,

Our company uses GWT 2.5.1-rc1 and many of our customers (healthcare) use 
IE8. We were hopeful that the memory leak in CellTable would have been 
addressed by the memory leak fix for FlexTable. That leak (Issue 6938 - 
https://code.google.com/p/google-web-toolkit/issues/detail?id=6938) was 
fixed in 2.6. After grabbing the fix and merging it into the 2.5.1-rc1 
code, we can confirm that FlexTable indeed is fixed and no longer leaking. 
However, we still have leaking resources in CellTable. I've written a small 
sample application to demonstrate the code that leaks. It's available on 
BitBucket for anyone to pull.

https://bitbucket.org/harvardpan/celltableleak/src/3eb0d9941df6fe40b4b09eef0ce1968c6db90da3/src/com/healthfortis/sample/celltableleak/client/CellTableLeak.java?at=master

The root cause of 6938 was described in a Microsoft Connect 
page: 
http://connect.microsoft.com/IE/feedback/details/790340/memory-leak-in-ie9-ie10-tables
In it, it describes multiple reasons for the leak, including:

   - rows with ids
   - cells with ids
   - code that references a row.cells expression, even if it does not store 
   or use the result (that's the fix in 6938)
   - code that does not set row.innerHTML to null after invoking 
   table.deleteRow() for the row.

I imagine that the CellTable leak is related to one of the conditions 
above. I suspect the last one as I never do actually see any setting to 
null of innerHTML in the javascript. Wanted to check in to see if anyone on 
this forum had any ideas on where we could investigate next.

Thanks!
Harvard

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to