3 Replies Latest reply on Sep 13, 2010 10:13 AM by wdfink

    heap size settings in jboss

    sreeg88

      Hi,

       

      What is the mininum heap size required to start a jboss application server instance? And is there any limit on maximum heap size setting? Please clarify

        • 1. Re: heap size settings in jboss
          peterj

          Minumum? I tried 32M once and that worked. The only app I had installed was a simple web service.

           

          Maximum? That depends on the OS and whether you are running a 32-bit or 64-bit JVM. A Windows 32-bit JVM is usually limited to 1.5-1.7G, while on Linux it is around 2G. For a 64-bit JVM the virtual limit is very high (around 2^64 bytes) but the practical limit is based on the amount of available memory (RAM + pagefile) with the recommended limit being the amount of free RAM.

          • 2. Re: heap size settings in jboss
            sreeg88

            Hi,

             

            Thank you

            • 3. Re: heap size settings in jboss
              wdfink

              Maximum of JVM heap can be about 3400MB depends to the OS we use Linux/HP/Solaris.

               

              But it depends to you application and the used GarbageCollector stategie what is useful.