Question: what is difference between core dump and heap dump?
Answer: Thread dump – Shows what each thread in a process is doing at a given point in time along with the stack trace. Core dump – O/S level dump file which has O/S level info in addition to the heap dump. Heap dump – is useful to analyze OOM situations. Core dump – When your JVM has crashed abruptly.