Issue
Is it possible to see the heap of a program in eclipse itself while it is executing? Is there a plugin for that?
Solution
I don't know if there is an Eclipse plugin, but if what matters is getting the information and not necessarily through Eclipse then you can do that with JVisualVM, and there are several plugins that provide all the details that you want.
One of its features is that you can make a heap dump.
Documentation says:
Take and browse heap dumps. When you need to browse contents of application memory or uncover a memory leak in your application, you'll find the built-in HeapWalker tool really handy. It can read files written in hprof format and is also able to browse heap dumps created by the JVM on an OutOfMemoryException.
Answered By - Edwin Dalorzo
Answer Checked By - Senaida (JavaFixing Volunteer)