Leak analysis
Roman Kennke
roman at kennke.org
Tue Aug 23 03:00:07 PDT 2011
Hi Clemens,
> 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
Very cool!
> * 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)
If you have a fix, we can build and use a modified version of OpenJDK7
or 8 on the server.
>
> All in all, except the EventQueue issue, it seems to work well, after
> ~100 sessions, we still get down to 30-40mb heap :)
Great stuff!! Kudos!
Cheers, Roman
More information about the caciocavallo-dev
mailing list