clearing unused objects
1 posts in topic
Flat View  Flat View

Posted By:   han_jian
Posted On:   Monday, July 22, 2002 08:03 PM

I'm about to clear unwanted object. i knew that i can do it using JProbe to check thru unwated objects before any clearance is carried out. I would like to know is there any way to check unwanted object without using JProbe? Or i can use any native method? Thanks in advance!

Re: clearing unused objects

Posted By:   Gautam_Marwaha  
Posted On:   Monday, July 22, 2002 09:49 PM

You can call System.gc() to "suggest" to the java runtime to intiate garbage collection. However, it is not usual to do this. If you want to further play around with gc, see java options (type java -X to see all options )like -Xincgc (non-standard)
About | Sitemap | Contact