Eclipse Tips : How To View Heap Status In Eclipse

This example illustrates how to view the current status of heap in the JVM where eclipse application is running. Eclipse allocates the pre-defined heap memory for its own use. If the usage reaches the maximum level, the performance of your eclipse would be very slow. Whenever it reaches the maximum level, eclipse triggers the Garbage Collection to free the memory. This would internally slow down the process to run the Garbage Collection threads. In Eclipse, you can change the settings to view the current memory usage in heap and fore the Garbage Collection to run.

Navigate to the following path to enable this feature:

Heap Status Settings in Eclipse

Windows -> Preferences -> General -> Show heap status (check box)

Heap Status  Settings

It will look like as in the below screenshot. If you look at the below picture, the heap details are shown in the status bar of the Eclipse application. The small icon display on right side will enforce the garbage collection.

Eclipse Heap Status Display

 

Comments

comments

About Krishna Srinivasan

He is Founder and Chief Editor of JavaBeat. He has more than 8+ years of experience on developing Web applications. He writes about Spring, DOJO, JSF, Hibernate and many other emerging technologies in this blog.

Speak Your Mind

*