DevOps Zone is brought to you in partnership with:

Erich is Professor at Lucerne University of Applied Sciences and Arts and Distinguished Member of Technical Staff at Freescale Semiconductor. Erich has a MsCS degree and 18+ years of experience in the embedded software and tools world. He created many embedded cross C/C++ compilers and debuggers. Additionally he is researching in the domain of programming languages, real time and mechatronic systems. Erich is a DZone MVB and is not an employee of DZone and has posted 115 posts at DZone. You can read more from them at their website. View Full User Profile

Show Heap Status in Eclipse

11.05.2013
| 8089 views |
  • submit to reddit

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



Published at DZone with permission of Erich Styger, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)