4 Replies Latest reply on Apr 24, 2019 6:55 AM by rpc1

    OutOfMemoryError

    rpc1

      We tested Hyperion Planning 11.1.2.4 on server   with 128GB RAM. Windows 2012R2

      Hyperion Planning JVM parameters  -Xmx102400m and -Xms8192m, after some successfull tests server  Planning fails with OutOfMemory error.

       

      And if I start Hyperion Planning it fails before starting with error

       

      at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

      Caused By: java.lang.OutOfMemoryError: classblock allocation, 4104144 loaded, 4M footprint, in check_alloc (src/jvm/model/classload/classalloc.c:215).

       

      Attempting to allocate 100G bytes

       

      There is insufficient native memory for the Java

      Runtime Environment to continue.

       

      Possible reasons:

        The system is out of physical RAM or swap space

        In 32 bit mode, the process size limit was hit

       

      Possible solutions:

        Reduce memory load on the system

        Increase physical memory or swap space

        Check if swap backing store is full

        Use 64 bit Java on a 64 bit OS

        Decrease Java heap size (-Xmx/-Xms)

        Decrease number of Java threads

        Decrease Java thread stack sizes (-Xss)

        Disable compressed references (-XXcompressedRefs=false)

       

          at java.lang.ClassLoader.defineClass1(Native Method)

          at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)

          at java.lang.ClassLoader.defineClass(ClassLoader.java:615)

          at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)

          at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)

       

      Server has enough memory before and during starting

       

      I have no Ideas what happend.

      When I started server with Xmx64000m it works fine,

       

      Could be the reason in HDD space - free HDD space 90GB is less then max heap size

       

      P.S. I'm sorry but Oracle Support is currently not avalible for me

       

       

      Regards,

      Dmitry

        • 1. Re: OutOfMemoryError
          JohnGoodwin

          Why are you trying to set the value so high, it doesn't always mean it is going to be better.

          You could look at increasing the value for MaxClassBlockMemory

          I suppose you are using a newer version of JDK/Jrockit than the one deployed by default with EPM.

           

          Cheers

           

          John

          1 person found this helpful
          • 2. Re: OutOfMemoryError
            rpc1

            Thanks, John!

            You could look at increasing the value for MaxClassBlockMemory

            I will try.

             

            I suppose you are using a newer version of JDK/Jrockit than the one deployed by default with EPM.

            Unfortunately, no!  I installed the latest version of EPM (11.1.2.900) and believe that it uses newer version of Jrockit, but Oracle  doesn't want to update JDK in EPM installer.

            I think using JDK 1.7 is a right way, but soon 11.2 will be released and I believe, that  new installer will include new versions of OHS,JDK,Weblogic  and etc =)

             

            P.S. I tried to free some space on HDD and restart server,  it solves my problem.

            • 3. Re: OutOfMemoryError
              JohnGoodwin

              You can update the version of Java to the latest 1.7 version, it is not a complex process to do so and it is supported, plus there is no JRockit.

              You are going to need a lot of space if the web app crashes and creates a dump file when you have the memory settings so high.

              1 person found this helpful
              • 4. Re: OutOfMemoryError
                rpc1

                I updated Java to the latest version 1.7.0_211 and everything works fine.

                Thank you!