8 Replies Latest reply on Jun 9, 2009 8:18 PM by Rodney Kite

    Memory footprint is more than twice as big from 4.2 to 5.1

    ezza ezaezazea Novice

      I don't have evergrowing vfs temp folders like i read about in other threads (this problem seems corrected in 5.1)
      Startup time is a bit longer but nothing terrible.


      My application has about 150 EJBs and uses up (just after startup) about 400M on JBoss 4.2, but more than 800 on 5.1
      I know AS5 loads VFS info in memory but a double footprint is too much.
      It is not just the EJBs, without the ear the footprint is already more than 500m.

      Can i do anything about it? I want our project to migrate to AS5 but if i can't even launch 2 instances on my development machine, it will be hard to justify.

      My VM arguments:

      JAVA_OPTS="-Xms256m -Xmx512m -XX:MaxPermSize=256m -Xss128k -Xverify:none -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:-DisableExplicitGC -Dhibernate.cglib.use_reflection_optimizer=false -Djboss.platform.mbeanserver -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dorg.jboss.resolver.warning=true"