[jEdit-Syntax-devel] memory leak
Brought to you by:
marcel-boehme,
oliverhe
From: Brian W. Y. <by...@de...> - 2001-09-25 20:26:23
|
Using OptimizeIt and the jre 1.3 w/hotspot, I've noted that the JEdit component is not getting cleaned up by the garbage collector after expicit de-referencing. This is a known Swing issue, and an annoying one at that. I've had to solve it by explicitly removing listeners and nulling out objects in my own GUI code. I wonder if this type of cleanup is something that should be considered internally inside the JEdit component, with a cleanup() method that could be called? It affects me more because my app uses multiple copies of the JEdit component, and expects them to be freed after the user is done with them. But what I end up with is a few hundred or more objects from the jedit package on my heap. Thanks Brian Young by...@de... |