Closed GoogleCodeExporter closed 9 years ago
Thanks George.
Can you help me understand where the memory leak occurs or what other problems
you see with the cyclic reference? Are you able to visualize a memory leak some
how?
Original comment by fredsa
on 12 Jul 2009 at 4:30
I changed my code and use one drag controller per desktop panel and not per
window. I
am going to make some more tests (I was using http://www.eclipse.org/mat/ in
hosted
mode for the tests) with an older version of WindowPanel and send you the
results.
That issue was part of http://code.google.com/p/gwt-mosaic/issues/detail?id=51
in
gwt-mosaic.
Thanks
George.
Original comment by georgopo...@gmail.com
on 14 Jul 2009 at 10:16
Note that memory footprint growth is not necessarily an indication of a memory
leak -
at least not in the presence of garbage collection.
Generally, I've not seen any memory leaks with JavaScript objects only
referring to
other JavaScript objects. The problem tends to occur with DOM/JavaScript
references. I
useful reference is this one http://code.google.com/p/google-web-
toolkit/wiki/DomEventsAndMemoryLeaks
Original comment by fredsa
on 16 Jul 2009 at 10:15
Hi,
yes cyclic references only in Java/JS code does not leak memory. WindowPanel
was too
complex now its simplified and there is no problem with the drag controller. I
am to
do some more tests after I am back from holidays.
Thank you very much for your help.
Kind Regards,
George.
Original comment by georgopo...@gmail.com
on 17 Jul 2009 at 3:27
Thanks
Original comment by fredsa
on 27 Jul 2009 at 2:18
Original issue reported on code.google.com by
georgopo...@gmail.com
on 19 May 2009 at 11:50