1 Reply Latest reply on Apr 19, 2013 1:20 PM by Al*800910*ie

    Redirecting heap dumps to home directory

    840867
      Hi All,
      Our Idm application is hosted on tomcat 6.0. Sometimes, due to high load on the server, the sustem runs out of memory and creates the heap and core dumps on randomly on any directory. Some times, heap dumps are created on root!!

      Could some one confirm if adding the below command in catalina.sh file will create heap dumps at the mentioned location(in our case home directory):

      JAVA_OPTS=-XX:-HeapDumpOnOutOfMemoryError
      JAVA_OPTS=-XX:-HeapDumpPath=/home/syidmadm


      Please suggest the correct command if the above one is incorrect.

      Thanks in advance!