Over a million developers have joined DZone.
Platinum Partner

Show Heap Status in Eclipse

A quick overview on how to see your heaps in Eclipse.

· Performance Zone

The Performance Zone is brought to you in partnership with AppDynamics. Discover five of the top performance metrics to capture to assess the health of your enterprise Java application.

Wondering how much heap is used by Eclipse? Using the menu Window > Preferences there is a setting I can enable: “Show heap status“:

Show Heap Status in Eclipse

Show Heap Status in Eclipse

With this, I see the current status of the heap in the lower right corner of Eclipse: The currently used amount of heap and the maximum of heap allocated:

Heap Status

Heap Status

There is as wall an icon to run the garbage collector manually.

With the status I can watch the memory consumption over time which gives me an indication if I feel that Eclipse is using too much memory.

Happy Heaping :-)



The Performance Zone is brought to you in partnership with AppDynamics.  Learn the essentials of APM and how to implement best practices of application performance, better understand what it means to capture, analyze, and react to performance problems as they arise, and more specifically with .NET applications. 

Topics:
performance,eclipse

Published at DZone with permission of Erich Styger , DZone MVB .

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}