1 Reply Latest reply on May 16, 2012 2:53 AM by jaikiran

    Seam deployment in production

    romanow

      This post is only a little bit related to SEAM, I apologize for any inconvenience.

       

       

      I am in the process of moving my SEAM 3 application to production and I got outOfMemory exception. I wonder what is the optimal memory setting.

       

      My env:

      os – centos 6.1 64b

      JDK – 1.7.0_04

      Seam 3.1

      JBoss AS 7.1.1

      DB – MySQL

      host: XEN 2G RAM , “shared access to 4 cores of  Intel(R) Xeon(R) CPU E31230 @ 3.20GHz ”

       

       

      My application I rather heavy on DB, and since system takes about 400MB I planed to allocate 1GB to JBoss and .5GB to MySQL.

      The hosting company set in jboss .bashrc:

      export JAVA_OPTS="-Xms512m -Xmx1380m -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true"

      which is more than I intended and I got outOfMemory Exception.

       

       

      My questions:

      Do you know any good resource for JBoss 7 tuning?

      Are there any special consideration with SEAM?