WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Error while doing Heap Dump Analysis

    Posted Sun January 01, 2012 06:37 AM
    Hi all,

    In WAS profile we got one heap dump generated, So I tried to analyze the dump using Heap Analyzer(4.2.6 & 4.0.8)

    But while analyzing it is throwing Heapdump.XXX.XXX.XXXX.phd is truncated
     So can any one Help on this.........


  • 2.  Error while doing Heap Dump Analysis

    Posted Mon January 02, 2012 10:37 PM
    some questions that might help to find a solution:

    - how big is the file you have?
    - is it being generated on a Unix/Linux system? If yes, do you have any "ulimit" limit set for file size?
    - in which filesystem type was this file generated? Some older filesystems have a limit on file size that is somewhat small for today's beasts
    - which system is it being analyzed in? in which filesystem? - are you positive you have plenty disk space to hold the dump file? (dumb question, but had to make it to be on the safe side)
    - are you positive the file in your computer where you are trying to analyze it is the same size as in the server? (ditto)
    - have you transferred this file over FTP? If yes, are you positive you performed a binary transfer, instead of a text one?

    Try responding those questions and it's going to be easier to find out what happened. 

    Cheers 


  • 3.  Error while doing Heap Dump Analysis

    Posted Tue January 03, 2012 03:00 AM
    Hi Alexei,

    Thanks for reverting back...

    -- I tried with 100MB file and also with 800MB file too from the same location.
    --It is an AIX box,And no limit set for file size.
    --it has been analyzed in windows box,yes it is having plenty disk spcae to hold the dump file.
    --Ya I am sure that the size is same.
    -- I have tried this by FTP  which is performed by keeping in binary mode
    --Also I have tried with SCP too.

    Even I also thought it is because of file corrution/loss of information but as i tried with two dump files same error occuring.




  • 4.  Error while doing Heap Dump Analysis

    Posted Tue January 03, 2012 01:53 PM
    I'd give it a try in a different windows box, and/or to download heapanalyzer again.

    Are you using HA from within ISA or are you using it standalone? Although you didn't mention any OutOfMemoryError being thrown out, I'd also give it a try with a higher max heap mark ( -Xmx1024m or higher, depending on your system ).

    Cheers