Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Show Heap Status in Eclipse

DZone's Guide to

Show Heap Status in Eclipse

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

· Performance Zone
Free Resource

Transform incident management with machine learning and analytics to help you maintain optimal performance and availability while keeping pace with the growing demands of digital business with this eBook, brought to you in partnership with BMC.

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 :-)



Evolve your approach to Application Performance Monitoring by adopting five best practices that are outlined and explored in this e-book, brought to you in partnership with BMC.

Topics:
performance ,eclipse

Published at DZone with permission of Erich Styger, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}