Win a copy of Head First Android this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Generating heap dumps and JVM crashing.

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

We have deployed our application to a server in which JVM is crashing many, many times there are lot of heap dumps getting created in WebSphere6. In fact, our application's JVM is crashing every few minutes, creating 120MB dumps each time. Clearly there is something wrong with the application that needs to be addressed and until the app JVM crash issue is corrected, the WAS filesystem will continue to fill, causing problems with deployments and general WAS sanity.

If heapdumps are getting created and JVM is getting crashed everytime on server. Does this behavior should happen to me locally i.e development box? If locally, not able to produce. How do i handle this issue?


Thanks,
Chinnu
 
Ranch Hand
Posts: 128
MS IE Eclipse IDE Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The server may be crashing due to a use-case not being replicated on the local system.

You can generate thread dumps when a crash is imminent. This may help identify the code causing the server crash.

If you are going to generate a thread dump, a nice procedure to analyze is generate multiple dumps between small intervals and determine if any thread is in the same code in all the dumps. This code could then point to the issue.
 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Chetan,

Can you please also look at your WAS server log? Heap Dump generation normally indicates your application did trigger an OutOfMemoryError (Java Heap or native memory depletion) condition.

Please provide a snapshot of your server log showing error and StackTrace of the first occurrence of OOM, if any.

Can you please also provide which JDK vendor you are using with WAS6, Sun HotSpot VM or IBM JDK over AIX OS??
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic