webspherewebsphere-6.1

webshere snap files - What is it


I have recently enabled java heap dumps and java thread dumps/javacore files on my websphere server v6.1. here is an example of the files that get created on my server.

javacore.20150728.142732.7726.txt heapdump.20150728.142732.7726.phd

But I am also seeing some snap files. For example:

Snap0001.20150725.074003.29341.trc

What is the snap file and how does it differ from the other two.

thanks


Solution

  • javacore is a thread dump, shows state of threads in the application server.
    heapdump is memory dump, shows objects allocated in the JVM heap.
    snap contain the tracepoint data held in the trace buffers. For more details see - Snap traces