Show Heap Status in Eclipse
A quick overview on how to see your heaps in Eclipse.
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“:
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:
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.