Search code examples
javamemory-managementgarbage-collectionheap-memory

Objects eligible for GC in heap dump?


I have got the heap dump at point of time . is there a way i can see how many/which probable objects( or how much probable memory) will be reclaimed(free) once another GC(minor/major) GC is run ?

I have access to Memory Analyzer tool(MAT),jvisualVM,Jprofiler tools and can use any one of them

enter image description here


Solution

  • You can try these references go to the doc pages on that):

    Update. Just noticed you have MAT so try the first thing Update 2. Example

    Also could you please share more context on what are you trying to accomplish with this? (runreachable_objects tab