zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Hunt (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-3044) OutOfMemoryError exceptions in Jenkins when running tests
Date Sat, 19 May 2018 23:37:00 GMT

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-3044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16481802#comment-16481802
] 

Patrick Hunt commented on ZOOKEEPER-3044:
-----------------------------------------

Hm. I just (as part of resolving this report) updated the java10 trunk build to use "latest"
rather than "JDK 10 b36 (early access build)". When we originally setup the jenkins jdk10
job b36 was all that existed, now the job will always grab "latest" jdk10. Let's see if that
changes things.

We are setting "maxmemory" as defined here (see build.xml for more details)
https://ant.apache.org/manual/Tasks/junit.html
"Maximum amount of memory to allocate to the forked JVM. Ignored if fork is off."
It was 2g and now 3g. So that seems very odd to me. I'm worried we might have a leak....


> OutOfMemoryError exceptions in Jenkins when running tests
> ---------------------------------------------------------
>
>                 Key: ZOOKEEPER-3044
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3044
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: build-infrastructure, tests
>    Affects Versions: 3.6.0
>            Reporter: Bogdan Kanivets
>            Assignee: Patrick Hunt
>            Priority: Major
>             Fix For: 3.6.0
>
>
> I've spot checked some failing test results and noticed OutOfMemoryError on some of
them
> [trunk - java 10 - testQuorumSystemChange - build # 65|https://builds.apache.org/job/ZooKeeper-trunk-java10/65/testReport/junit/org.apache.zookeeper.test/ReconfigTest/testQuorumSystemChange]
> [trunk - java 10 - testQuorumSystemChange - build # 69|https://builds.apache.org/job/ZooKeeper-trunk-java10/69/testReport/junit/org.apache.zookeeper.test/ReconfigTest/testQuorumSystemChange]
> [trunk - java 9 - testWatcherAutoResetDisabledWithGlobal|https://builds.apache.org/job/ZooKeeper-trunk-java9/775/testReport/junit/org.apache.zookeeper.test/WatcherTest/testWatcherAutoResetDisabledWithGlobal]
> [trunk - java 10 - testHammer|https://builds.apache.org/job/ZooKeeper-trunk-java10/70/testReport/junit/org.apache.zookeeper.test/AsyncHammerTest/testHammer]
> Right now the test command is:
> ant -Dtest.junit.maxmem=2g -Dtest.output=no -Dtest.junit.threads=8 -Dtest.junit.output.format=xml
-Djavac.target=1.9 clean test-core-java
> Is it possible to decrease the number of threads or increase maxmem?
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message