[
https://issues.apache.org/jira/browse/ZOOKEEPER-3044?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Patrick Hunt resolved ZOOKEEPER-3044.
-------------------------------------
Resolution: Fixed
Thanks Bogdan. I increased the maxmem to 3g. It's odd though, afaik that's the
maxmem per jvm, including when the parallel threads get forked (each forked
thread has maxmem heap).
Please reopen if you see this again. thanks.
> 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
>
> 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)