-
Task
-
Resolution: Done
-
Blocker
Tests on the 2.0 branch require crazy amounts of RAM or that the VM be killed after every test. This appears to be a regression from 1.x.
Running the full test suite (on 2.0, Maven 3.3.3 and Java 8):
Surefire forked booter 1:
Surefire forked booter 2 (there is a little jconsole disconnection of ~4 minutes in my local env, but nothing remarkable happened in the middle):
Maven launcher process:
Running the full test suite (on 2.0, Maven 3.3.3 and Java 7 and -Xmx600m - lowered from the current value of -Xmx1g):
Surefire forked booter 1:
Surefire forked booter 2:
Maven launcher process:
Running the full test suite (on 1.x, Maven 3.3.3 and Java 7 and -Xmx256):
Surefire forked booter 1:
Surefire forked booter 2:
Maven launcher process:
Description updated with reports of a full run on JDK 7. Memory usage does not show anything abnormal. Forked surefire booters use 400-600 MB as much and Maven launcher process doesn't go up to 300MB.
I still think -Xmx1g is not really required.
Maybe we could activate -XX:+HeapDumpOnOutOfMemoryError on both agents and master JVMs in https://ci.jenkins-ci.org so we get some hint next time it happens.
I don't see anything else we can do here.