You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Julian Reschke (JIRA)" <ji...@apache.org> on 2017/10/18 15:30:01 UTC

[jira] [Resolved] (OAK-6845) org.apache.jackrabbit.oak.jcr.query.QueryJcrTest1IT on java 9 fails with OutOfMemory

     [ https://issues.apache.org/jira/browse/OAK-6845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julian Reschke resolved OAK-6845.
---------------------------------
       Resolution: Fixed
         Assignee: Julian Reschke
    Fix Version/s: 1.7.10
                   1.8

Apparently fixed by using a later failsafe plugin which invokes java with the now excluded javax.jaxb libs.

> org.apache.jackrabbit.oak.jcr.query.QueryJcrTest1IT  on java 9 fails with OutOfMemory
> -------------------------------------------------------------------------------------
>
>                 Key: OAK-6845
>                 URL: https://issues.apache.org/jira/browse/OAK-6845
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: lucene
>            Reporter: Julian Reschke
>            Assignee: Julian Reschke
>             Fix For: 1.8, 1.7.10
>
>
> {noformat}
> 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"
> {noformat}
> and
> {noformat}
> [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]
> {noformat}
> Does anybody recall why we're running with 512m?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)