Can I delete java dump files (java core dump, heap dump, snap dump, etc)

41,466

Solution 1

Yes, then can be safely deleted. These are result of dump that have happened sometimes ago. For more information, please have a look at:

You might want to know why your runtime crashed...

Solution 2

If you have a Heap Dump it means that the server has thrown an exception of type:

OutOfMemoryExceptions: That is the jvm garbage collector can't release memory and probably exist some memory leak and can occur again.

You must store these dump (not necessary in the same machine) and send it to Development Team (or Support)

These can be analyzed whit Eclipse MAT

https://eclipse.org/mat/

Since you have PHD Dumps you must install the following plugin (to Eclipse MAT).

DTJF in order to read IBM files. http://wiki.eclipse.org/MemoryAnalyzer#System_Dumps_and_Heap_Dumps_from_IBM_Virtual_Machines

Share:
41,466
manish sharma
Author by

manish sharma

Updated on September 18, 2022

Comments

  • manish sharma
    manish sharma almost 2 years

    Can dump files like java core dump, heap dump, snap dump, be deleted? They are occupying lots of space on the server.

    Is there any usage of this file? Will anything happen on production servers if i delete these? The files I see are:

    heapdump.20158411.1405458303.28470.0001.phd
    heapdump.29043851.1394540224.25760.0003.phd
    Snap.20110411.143450200.25760.0004.trc
    javacore.201457810411.140200.25760.0002.txt
    
  • Dev G
    Dev G over 10 years
    How these files can be used for analysing issue? any pointers/guidance?