Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-6845

org.apache.jackrabbit.oak.jcr.query.QueryJcrTest1IT on java 9 fails with OutOfMemory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7.10, 1.8.0
    • lucene
    • None

    Description

      Running org.apache.jackrabbit.oak.jcr.query.QueryJcrTest1IT
      java.lang.OutOfMemoryError: Java heap space
      Dumping heap to java_pid12624.hprof ...
      Heap dump file created [824135841 bytes in 1.940 secs]
      Exception in thread "FileStore background tasks" Exception in thread "FileStore background tasks" java.lang.IllegalMonitorStateException
              at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.signal(AbstractQueuedSynchronizer.java:1962)
              at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1141)
              at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:848)
              at java.base/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1092)java.lang.IllegalMonitorStateException
              at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.signal(AbstractQueuedSynchronizer.java:1962)
              at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1141)
              at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:848)Exception in thread "Thread-13" java.lang.OutOfMemoryError: Java heap space
      Exception in thread "FileStore background tasks" java.lang.IllegalMonitorStateException
              at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.signal(AbstractQueuedSynchronizer.java:1962)
              at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1141)
              at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:848)
              at java.base/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1092)
              at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)
              at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
              at java.base/java.lang.Thread.run(Thread.java:844)
      Exception in thread "surefire-forkedjvm-command-thread" java.lang.OutOfMemoryError: Java heap space
      Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "FileStore background tasks"
      Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "FileStore background tasks"
      

      and

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.19.1:integration-test (default) on project oak-lucene: Execution default of goal org.apache.maven.plugins:maven-failsafe-plugin:2.19.1:integration-test failed: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
      [ERROR] Command was cmd.exe /X /C ""C:\Program Files\Java\jdk-9\bin\java" -Xmx512m -XX:+HeapDumpOnOutOfMemoryError -Dupdate.limit=100 -Djava.awt.headless=true -jar C:\projects\apache\oak\trunk\oak-lucene\target\surefire\surefirebooter14697660280707569600.jar C:\projects\apache\oak\trunk\oak-lucene\target\surefire\surefire17898514826986472070tmp C:\projects\apache\oak\trunk\oak-lucene\target\surefire\surefire_515981339468386547000tmp"
      [ERROR] -> [Help 1]
      

      Does anybody recall why we're running with 512m?

      Attachments

        Issue Links

          Activity

            People

              reschke Julian Reschke
              reschke Julian Reschke
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: