Over a million developers have joined DZone.

Show Heap Status in Eclipse

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

· Performance Zone

See Gartner’s latest research on the application performance monitoring landscape and how APM suites are becoming more and more critical to the business, brought to you in partnership with AppDynamics.

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.  See Gartner’s latest research on the application performance monitoring landscape and how APM suites are becoming more and more critical to the business.

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 }}