6 Replies Latest reply: Sep 1, 2011 9:09 AM by Roberto Requena RSS

    java.lang.OutOfMemoryError: PermGen space + JBoss AS in Windows

    Roberto Requena Newbie

      Greetings.

       

           I need some help setting up a JBoss Aplication for production as is giving me memory problems.

       

      The server configuration is as follows:

       

      OS: Microsoft Windows Server 2003 Enterprise Edition (Service Pack 2)

      CPU: Pentium (R) Dua-Core CPU E5200@2.50GHz 2.50GHz

      Memory: 1.96 GB of RAM.

      JAVA: java version "1.6.0_24" Java (TM) SE Runtime Environment (build1.6.0_24-b07)

      Application Server: JBoss 5.1.0.GA

       

      My application is developed with:

       

      JSF 1.2

      Rich Faces 3.3.3 Final

      Facelets

      EJB 3.0

      JPA

       

      I tried to make most of my Backing Beam are in request scope.

       

      But when more than one user is connected to the application I get the following error:

       

      java.lang.OutOfMemoryError: PermGen space
      

       

      and tried to set the memory of the VM, but do not know what values ​​to putexactly the amount of server memory. Nor is that components of jboss I have to uninstall to improve performance.

       

      If you have any suggestions they are truly GRATEFUL.

       

      Thanks again and excuse me for my Inglish