2 Replies Latest reply on Sep 29, 2004 12:36 PM by louie171

    JBoss 3.2.5 using more memory

    mjprima

      Deploying the same ear file on 3.2.5 is using substantially more memory than it was on 3.2.3.

      It is using 30mb more at the point where the ejb.jar is deployed and never releasing it.

      Any ideas why? I can swap the standardjboss.xml files and it doesn't make a difference.

      Here is the 3.2.3 startup:

      2004-09-20 09:02:58,566 INFO [org.jboss.ejb.EJBDeployer] Deployed: file:/C:/jboss-3.2.3/server/test/tmp/deploy/tmp26519test.ear-contents/ejb.jar
      2004-09-20 09:02:59,006 INFO [Monitor:name=JBossMonitor] Total Mem: 266403840
      Free Mem: 226851240
      2004-09-20 09:02:59,006 INFO [Monitor:name=JBossMonitor] Thread Count: 58
      2004-09-20 09:02:59,016 INFO [org.jboss.web.tomcat.tc4.EmbeddedTomcatService] deploy, ctxPath=, warUrl=file:/C:/jboss-3.2.3/server/test/tmp/deploy/tmp26519test.ear-contents/redirect-web.war/

      Here is the 3.2.5 startup:

      2004-09-20 09:06:15,719 INFO [org.jboss.ejb.EJBDeployer] Deployed: file:/C:/jboss-3.2.5/server/test/tmp/deploy/tmp11815test,ear-contents/ejb.jar
      2004-09-20 09:06:15,819 INFO [Monitor:name=JBossMonitor] Total Mem: 266403840 Free Mem: 208315576
      2004-09-20 09:06:15,819 INFO [Monitor:name=JBossMonitor] Thread Count: 25
      2004-09-20 09:06:16,821 INFO [Monitor:name=JBossMonitor] Total Mem: 266403840
      Free Mem: 196392392
      2004-09-20 09:06:16,821 INFO [Monitor:name=JBossMonitor] Thread Count: 25
      2004-09-20 09:06:16,931 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=, warUrl=file:/C:/jboss-3.2.5/server/test/tmp/deploy/tmp11815test.ear-contents/redirect-web.war/

        • 1. Re: JBoss 3.2.5 using more memory
          mjprima

          I have run another test to compare memory usage in JBoss 3.2.5 as compared to JBoss 3.2.3. This test deployed Suns Order Processing Center application from the Pet Store demo in default configurations of JBoss.

          This test shows JBoss 3.2.5 using at least 10 MB more memory than JBoss 3.2.3. This is for a very small deployment. It appears as the number of EJBs grows the difference in memory usage grows.

          Both servers
          Running Java 1.4.2_04
          Default Server configuration
          Deploy Sun's opc.ear file from the Pet Store application


          JBoss 3.2.3 / Tomcat 4.1

          Server started and all services deployed
          Total Mem: 266403840 Free Mem: 243195344
          Thread Count: 73

          After running idle for a while
          Total Mem: 266403840 Free Mem: 249268808
          Thread Count: 73

          JBoss 3.2.5 / Tomcat 5

          Server started and all services deployed
          Total Mem: 266403840 Free Mem: 226558792
          Thread Count: 67

          After running idle for a while
          Total Mem: 266403840 Free Mem: 239464120
          Thread Count: 67

          • 2. Re: JBoss 3.2.5 using more memory
            louie171

            Have you had any sucess with this i have the same problem.