1 Reply Latest reply on Jul 30, 2003 9:16 AM by Tim McCune

    Hot deploy out of memory

    F Zemen Newbie

      We've got a fair sized app that tends to get out of memory exceptions during hot deploys, and then uppon deployment is very, very slow. Cold deploys no problem.

      We have 1 Gig dedicated to the JVM and GC parameters optimized for a high request-response paradigm.

      We have the same issues in NT and Solaris. JBoss 3.0.5 w/Tomcat bundle.

      Our JAVA_OPTS settings including gc settings on Solaris are:

      -Xrs
      -Xms1024m
      -Xmx1024m
      -XX:NewRatio=3
      -XX:+UseParNewGC
      -XX:+UseConcMarkSweepGC
      -XX:MaxTenuringThreshold=0
      -XX:SurvivorRatio=128
      -verbose:gc
      -Xloggc:$JBOSS_HOME/gc.log
      -XX:+PrintGCTimeStamps
      -XX:+PrintGCDetails
      -XX:+PrintTenuringDistribution"

      We have a couple hundred EJB's, including a sizeable number of CMP entity beans. The ear file is about 20 Mb in size.

      Is there any other info that would be helpful to answer this post.