1 Reply Latest reply on Jun 8, 2005 10:54 AM by Peter Johnson

    JBoss Optimization Problem

    Prajal Sutaria Newbie

      I'm running jboss 3.2.6 on linux ES 3.0. Few days ago while running application i was getting OutOfMemory error in jboss log and also my site was not working at all. One of my frind suggested me that this is problem due to jboss optimization. So he suggested me to make changes in run.sh file of jboss. I have made changes and after that its working fine. Please find below changes that i had done in run.sh

      JAVA_OPTS="$JAVA_OPTS -Xms328m -Xmx720m"i removed above line and add new line as below
      JAVA_OPTS="$JAVA_OPTS -Xms328m -Xmx720m -XX:PermSize=64m -XX:MaxPermSize=512m"
      My RAM size is 2 GB

      Can anyone tell me that is this only process for jboss optimization or anything else is remaining. Also tell me that this is right process that i did ?