6 Replies Latest reply: Sep 10, 2013 1:39 PM by Daniel Atwood RSS

    Heap size error for Installation of weblogic 10.3.6

    kasiraju.rudraraju

      Hi Experts,

       

      When I was installing the weblogic server 10.3.6,I got the fallowing errors.

       

      1)Error occurred during initialization of VM.

       

      2)Couldn't reserve enough space for object heap.

       

      3)Couldn't create the java virtual machine.

       

      Thanks & regards,

      kasiraju.

        • 1. Re: Heap size error for Installation of weblogic 10.3.6
          Daniel Atwood

          How much memory do you have on your machine (or allocated to you virtual machine)?

           

          Was it during the installation or when you first started your domain?  If it was the latter, in your startWeblogic.cmd or .sh file, what are your JVM's xmx and xms parameters set to?

          • 2. Re: Heap size error for Installation of weblogic 10.3.6
            kasiraju.rudraraju

            Hi Dan,

             

            Thank you very much for your Quick response.

             

            1) Dan:  How much memory do you have on your machine?

             

               Me:   I am using windows7 64 bit os and 8gb ram.

             

            2)Dan:  Was it during the installation or when you first started your domain?

             

            Me:  I done successfully installing & Configuring the Oracle SOA11.1.1.7 suite & Domain creation.

                    The problem is occurred,When I was start the Weblogic server and Its showing These fallowing errors.

             

                                                                                                  i)Error occurred during initialization of VM.

             

                                                                                                  ii)Couldn't reserve enough space for object heap.

             

                                                                                                   iii)Couldn't create the java virtual machine.

             

            3)Dan:  startWeblogic.cmd or .sh file, what are your JVM's xmx and xms parameters?

             

            Me:      setDomainEnv XMX & XMS:

                                                             set XMS_SUN_64BIT=256

                                                             set XMS_SUN_32BIT=256

                                                             set XMX_SUN_64BIT=512

                                                             set XMX_SUN_32BIT=512

                                                             set XMS_JROCKIT_64BIT=256

                                                             set XMS_JROCKIT_32BIT=256

                                                             set XMX_JROCKIT_64BIT=512

                                                             set XMX_JROCKIT_32BIT=512.

             

                        setSOADomainEnv XMX & XMS: 

                                                              set DEFAULT_MEM_ARGS=-Xms512m -Xmx1024m

                                                              set PORT_MEM_ARGS=-Xms768m -Xmx1536m

             

             

             

            Thaks & Regards,

            kasiraju.

            • 4. Re: Heap size error for Installation of weblogic 10.3.6
              kasiraju.rudraraju

              Hi Dan,

               

              1)    I was Trying to these values.

               

                    For the domain's setSOADomainEnv.cmd file, try:

               

                       set DEFAULT_MEM_ARGS=-Xms512m -Xmx1024m

                       set PORT_MEM_ARGS=-Xms768m -Xmx3072m

               

              But Again I faced same problem.

               

              i)Error occurred during initialization of VM.

               

              ii)Couldn't reserve enough space for object heap.

               

              iii)Couldn't create the java virtual machine.

               

              2)

               

              I was trying to these values.

               

              this is the value I am using

                                   set DEFAULT_MEM_ARGS=-Xms768m -Xmx2048m

                                   set PORT_MEM_ARGS=-Xms768m -Xmx2560m

               

              But I faced this problem.

              i)Error occurred during initialization of VM.

              ii)The size of the object heap +VM data exceeds the maximum representable size.

               

              Will you please give me the any other solution dan.

               

              Thanks & Regards,

              kasiraju.

              • 5. Re: Heap size error for Installation of weblogic 10.3.6
                kasiraju.rudraraju

                Hi Experts,

                 

                Please kindly give the solution for above error.

                 

                Regards,

                kasiraju.

                • 6. Re: Heap size error for Installation of weblogic 10.3.6
                  Daniel Atwood

                  Know this is probably not the case and sure you've already done this, but the next thing I'd check would be to verify that you really have 8gb memory on the machine.  If you're using a VM, your VM administrator might not be giving you the memory that they claim that they are giving you.