GeekInterview.com
Series: Subject: Topic:
Question: 55 of 221

what are the differences between thread dump and heap dump ?

Asked by: kirankumar samudrala | Member Since Feb-2011 | Asked on: Apr 16th, 2011

View all questions by kirankumar samudrala   View all answers by kirankumar samudrala

Showing Answers 1 - 1 of 1 Answers
Shelly Gulati

Answered On : Mar 26th, 2012

A thread dump is a dump of all live threads at the instant the thread dump is taken. Thus useful for analysing execution problems e.g. thread deadlock.It is used when the server is hung and we want to see the threads executing and take their dump.

A heap dump is a JVM facility that generates the dump of the state of the Java heap memory or live objects. Thus useful for analysing some memory issues.

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.