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

What is cluster stub?

544


I configured the messaging bridge to use the exactly-once quality of service for two-phase transactions. So why am I getting a quality of service is unreachable error? : BEA Weblogic

539


How do I use unicode codesets with the weblogic jdriver for oracle driver? : BEA Weblogic

543


What are crossdomainconnectors in reference to web logic servers?

522


When should I use multicast subscribers? : BEA Weblogic

544






How should you type cast a remote object? Why?

559


Inclined to build a profession as oracle weblogic developer?

514


What are tuning jvm parameters?

582


How will a single machine run multiple web logic server instances?

507


Which of the programs can be created using the zac publish wizard tool? : BEA Weblogic

588


Explain the diffrernces between 8.x and 9.x?

552


What is the difference in the web.xml and weblogic.xml ?

629


Why is my jms work not part of a user transaction (i.e., Called within a transaction but not rolled back appropriately)? How do I track down transaction problems? : BEA Weblogic

505


Which of the algorithms is used by the weblogic server as the default load balancing strategy for clustered object stubs when no algorithm is specified ? : BEA Weblogic

574


What is the default thread stack size in windows?

565