10 Replies Latest reply on Feb 13, 2015 7:44 AM by Rahul Boraste

    Update Repository Error -java.lang.OutOfMemoryError:Java heap space

    Rahul Boraste

      Hi All,

       

      I am getting Error while updating Repository -java.lang.OutOfMemoryError:Java heap space.


      I know this is known error.

       

      I am using 4 GB RAM & 64 bit server.

       

      I have tried the following entries in Pref.txt:


      ----------------------------------------------------------------------------------------------------------------

      For 2GB RAM:

      marimba.launch.javaArgs=-Xms256m -Xmx768m -XX:PermSize=32m -XX:MaxPermSize=320m

       

      For 4GB RAM:

      marimba.launch.javaArgs=-Xms256m -Xmx1536m -XX:PermSize=32m -XX:MaxPermSize=768m

       

      For 8GB RAM:

      marimba.launch.javaArgs=-Xms256m -Xmx3072m -XX:PermSize=32m -XX:MaxPermSize=1536m

      -----------------------------------------------------------------------------------------------------------------------

      First I tried with below entry

       

      For 4GB RAM:

      marimba.launch.javaArgs=-Xms256m -Xmx1536m -XX:PermSize=32m -XX:MaxPermSize=768m


      When I make entry in Pref.txt, after that Tuner service doesn't start & give below error

       

      Tuner services is not starting

       

       

      So I tried with

      2GB RAM:

      marimba.launch.javaArgs=-Xms256m -Xmx768m -XX:PermSize=32m -XX:MaxPermSize=320m

       

       

      But am facing below error:

      Exception in thread "Thread-39" java.lang.OutOfMemoryError: Java heap space

       

       

      kindly provide the solution for the same, I have attached logs.

       

      Thanks & Regards,

      Rahul