Uploaded image for project: 'eXo-JCR'
  1. eXo-JCR
  2. EXOJCR-1187

Increase memory consuming of JCR, OutOfMemoryError: PermGen space

    Details

      Description

      There's a problem on jcr 1.14.x with OutOfMemoryError: PermGen space. Problem occured on Search tests.
      Do an investigation about other tests, find out the problem and solution.

      Run 1:
      SearchNodesByContentTest,120.114,
      aritmean,120.114,
      geommean,120.114,
      harmmean,120.114
      Generating reports ...
      file:/home/swtest/benchmark/testing-results/JCR/1.14.0-Beta03/rev.3863_rerun/bin/../reports/2011_01_28_20_53/report.xml
      Exception in thread "main" java.lang.OutOfMemoryError: PermGen space
      Exception in thread "lock-remover-repository-1-thread-1" java.lang.OutOfMemoryError: PermGen space
      Exception in thread "lock-remover-repository-1-thread-1" java.lang.OutOfMemoryError: PermGen space
      Exception in thread "lock-remover-repository-1-thread-1" java.lang.OutOfMemoryError: PermGen space
      Exception in thread "EvictionTimer-0" java.lang.OutOfMemoryError: PermGen space
      Exception in thread "EvictionTimer-1" java.lang.OutOfMemoryError: PermGen space
      Exception in thread "EvictionTimer-0" java.lang.OutOfMemoryError: PermGen space

      Problem appear after rev.3535

      Java - 1.6.0_18
      default JVMs value of PermSize: 96m

      Startup parameters:

      java -Xmx8g -Duser.language=en -Duser.region=us -Djava.net.preferIPv4Stack=true -jar ../lib/$JCR_BENCH_JAR $1 -last -line
      java -cp ../lib/$JCR_BENCH_JAR org.exoplatform.jcr.benchmark.helpers.SimpleReportHelper

      That problem doesn`t appear on JCR 1.12.x with startup parameters as for the JCR 1.14.x

      When using parameters with increased default MaxPermSize, till 256 problem was not appeared
      java -Xmx8g -XX:MaxPermSize=256m -Duser.language=en -Duser.region=us -Djava.net.preferIPv4Stack=true -jar ../lib/$JCR_BENCH_JAR $1 -last -line
      java -cp ../lib/$JCR_BENCH_JAR org.exoplatform.jcr.benchmark.helpers.SimpleReportHelper

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                nzamosenchuk Nikolazy Zamosenchuk
                Reporter:
                EosRoman Roman Iyvshyn
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 3 days Original Estimate - 3 days
                  3d
                  Remaining:
                  Time Spent - 2 days, 4 hours Remaining Estimate - 1 day, 6 hours
                  1d 6h
                  Logged:
                  Time Spent - 2 days, 4 hours Remaining Estimate - 1 day, 6 hours
                  2d 4h