Leak analysis
Clemens Eisserer
linuxhippy at gmail.com
Tue Aug 23 02:46:37 PDT 2011
Hi guys,
I recently played a lot with the demo-instance running on roman's server,
which didn't last very long when we started testing ;)
Found the following problems:
* Notepad leaks memory itself, as it registers listeners which should be
manually removed. (removed Notepad for now)
* SwingSet2 leaked memory, as it stored all its instances in a static array
* SwingSet2 loads a lot of images, I modified SwingSet share loaded images
between instances
* Concurrency problems with java.awt.EventQueue:
- Sometimes (2-4%) an EventQueue would not terminate, hanging arround not
terminating (still investigaing, probably fixed)
- Sometimes (1-2%) the EventQueue would run in an endless loop at shutdown
(should be fixed, preparing patches for openjdk)
All in all, except the EventQueue issue, it seems to work well, after ~100
sessions, we still get down to 30-40mb heap :)
- Clemens
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/caciocavallo-dev/attachments/20110823/8fbc4b96/attachment.html
More information about the caciocavallo-dev
mailing list