Swing + NO garbage-collecting [message #137318] |
Mon, 29 September 2003 06:07  |
Eclipse User |
|
|
|
Hi,
I've written a plugin, which open a swing-frame as preview (no swt
possible) and it doesn`t free the memory, when the frame is disposed
manually. When I disposed the view right after the showing the memory
was released, but not when closing it with a windowevent. This way after
some time it will kill the memory of the system.
greetings
Joachim
|
|
|
|
Re: Swing + NO garbage-collecting [message #138515 is a reply to message #137318] |
Wed, 01 October 2003 12:15  |
Eclipse User |
|
|
|
Just to be sure: You use JFrame#dispose() method and
have set
JFrame#setDefaultCloseOperation(WindowConstants.DISPOSE_ON_C LOSE), right ?
Genady
Joachim Schoder wrote:
> Hi,
>
> I've written a plugin, which open a swing-frame as preview (no swt
> possible) and it doesn`t free the memory, when the frame is disposed
> manually. When I disposed the view right after the showing the memory
> was released, but not when closing it with a windowevent. This way after
> some time it will kill the memory of the system.
>
> greetings
> Joachim
>
|
|
|
Powered by
FUDForum. Page generated in 0.03551 seconds