Questions tagged [heap-dump]

A heap dump is a snapshot of the memory of a Java process.

A heap dump is a snapshot of the memory of a Java process.

The snapshot contains information about the Java objects and classes in the heap at the moment the snapshot is triggered. Because there are different formats for persisting this data, there might be some differences in the information provided. Typically, a full garbage collection is triggered before the heap dump is written, so the dump contains information about the remaining objects in the heap.

All Objects: Class, fields, primitive values, and references.

All Classes: Class loader, name, super class, and static fields.

Garbage collection roots: Objects defined to be reachable by the JVM.

Thread Stacks and Local Variables: Call-stacks of threads at the moment of the snapshot, and information about local objects on a frame by frame basis.

A heap dump does not contain allocation information, therefore you cannot work out what created the objects or where the objects were created.

Source

485 questions
-1
votes
1 answer

Memory Leak Suspects

In our team, we are using a service which has spill over problem. It is caused by long API latency in which GC time took most of the parts. Then I found that the heap memory usage is very high. I got the heap dump using jmap for the service which is…
user7503314
  • 21
  • 1
  • 5
-1
votes
1 answer

Automate nested variable dump in VS2015 debugger

Currently I'm looking into a 'minidump with heap'. I would like to write a unit test reproducing the crash, but therefore I need the data that lead to the crash. Using the Visual Studio debugger, I can 'watch' the offending data structures, but…
xtofl
  • 40,723
  • 12
  • 105
  • 192
-1
votes
1 answer

internal error occurred while parsing heap dump

I've a heap dump file of size 6.89 GB. when i tried to open it in Eclipse mat analyzer, I'm getting an "internal error occurred while parsing heap dump". I tried increasing the size of heap in MemoryAnalyzer.ini to 80% of the file size. Still no…
Rajesh
  • 382
  • 3
  • 14
-2
votes
2 answers

How to collect heap dump (IBM JDK)

$java -version java version "1.6.0" Java(TM) SE Runtime Environment (build pap6460sr16fp26-20160508_01(SR16 FP26)) IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 AIX ppc64-64 jvmap6460sr16fp25-20160413_299433 (JIT enabled, AOT enabled) J9VM -…
Ketan
  • 3
  • 6
-4
votes
1 answer

Java Heap and Stack

I have problems with the following exercise since I couldnt attend the lesson where the topic has been explained. I tried to help myself with some videos on youtube, but it didn't really make me confident about the result I had. I would be very…
1 2 3
32
33