Re: [jEdit-Syntax-devel] memory leak
Brought to you by:
marcel-boehme,
oliverhe
From: Tom B. <bra...@db...> - 2001-09-28 19:24:58
|
"Brian W. Young" wrote: > > 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. Hi Brian, Thanks for the heads up. I'll take a look at writing a proper disposal mechanism for the next release. -- Tom Bradford The dbXML Group, L.L.C. http://www.dbxmlgroup.com/ Desktop, Laptop, Settop, Palmtop. Can your XML database do that? |