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 presented by AppDynamics. Scalability and better performance are constant concerns for the developer and operations manager. Try AppDynamics' fully-featured performance tool for Java, .NET, PHP, & Node.js.

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 presented by AppDynamics. AppDynamics is a leader in the APM space with massive cost reductions for users.


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