Jdialog not getting garbage collected
- From: sarath <sarath.post@xxxxxxxxx>
- Date: Fri, 29 Jun 2007 08:02:55 -0700
Hi ,
I am having a trouble in the Load and stress testing phase. I have
a Child class of JDialog instance which does not get garbage collected
no matter what I do. I have freed all the listeners, made the instance
variable to null(which are actually garbage collected), made all the
instaces that are coming and going out of the Dialog class.
and done,
this.removeAll();
getRootPane().remove(getContentPane());
super.dispose();
this.dispose();
disposed the dialog, set the instance to null. Tried everything that
is mentioned in the web but when it is an instance of the JDialog, it
does not get garbage collected. I have seen that this is mentioned as
bug in many Java releases prior to 1.2. Is this still a problem or
have they fixed it?
I am using JDK 1.5.0 in Windows 2000. I was able to see the un-
claimed memory using the Optimize it.
Please reply. Any comments are welcome.
Regards
Sarath
.
- Follow-Ups:
- Re: Jdialog not getting garbage collected
- From: Knute Johnson
- Re: Jdialog not getting garbage collected
- Prev by Date: Re: test imap and pop3
- Next by Date: Re: Jdialog not getting garbage collected
- Previous by thread: wants more options in choosing the name and type of image
- Next by thread: Re: Jdialog not getting garbage collected
- Index(es):