what is difference between cor dump and heap dump. Explain the situation when you have to take thead dump and when to take heap dump

Answer Posted / naresh

Core Dump: A Binary file which is generated by the
operating system whenever a process gets crashed. If a Java
Process gets crashed OS generates a Core Dump for Java
Process.The Core Dump contains informations of the
Operating System Signals, Thread Details (Native Threads
details), Native Libraries information etc.
Heap Dump: A Binary File Generated by the JVM itself (Not
By the OS). Heap Dump contains the complete informations of
the java heap objects and their references, total count of
the objects present inside the Java Heap. Heap Dump is
helpful to see what kind of objects consuming more memory
in the Java Heap, Which helps us to find out any kind of
Memory Leak

Is This Answer Correct ?    26 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do you know how can third-party jdbc driver be used with jms?

503


How can I avoid resourceexceptions when sending more requests for database connections from the pool than are currently available? : BEA Weblogic

515


How do I prevent errors when running t3dbping? : BEA Weblogic

471


How do I manage a queue to view and delete specific messages? : BEA Weblogic

544


What are the advantages and disadvantages of node manager?

557






What is Weblogic ? (Weblogic Interview Questions)

603


Explain the functionality of T3 associated with WebLogic server?

575


What is meant by node manager?

580


How to write a program to call the store procedure of oracle that takes no parameter?

470


Tell the issues faced in weblogic?

539


What is a non-durable topic subscriber?

527


What is a license file ?

585


How many types of logs are there?

535


What is the difference between multicast and unicast?

486


What is the list of pre-configured queues?

533