Curious to Know what Eclipse 'Show Heap Status' does

Posted by GustlyWind on Stack Overflow See other posts from Stack Overflow or by GustlyWind
Published on 2010-06-01T08:40:58Z Indexed on 2010/06/01 8:43 UTC
Read the original article Hit count: 323

Filed under:
|

Hi All

In Eclipse (I am using 3.4 Ganymede) there is an option under

Preferences>General>Show Heap Status

which when checked shows near bottom of IDE like 46M of 98M and if we move the mouse over 'Recycle Bin' it says 'Run Garbage Collector'.

I am curoius to know how this works.What will happen when 'Run Garbage Collector' is clicked.

My enivroment set up is something like jdk6 is insatlled and IDE used for development and run in Tomcat server. So my understanding is all the objects which are run through Tomcat should be garbage collected. Is this correct.

Is there a way to see what objects Eclipse identified as Garbage Cheers

© Stack Overflow or respective owner

Related posts about eclipse

Related posts about garbage-collector