-
Type: Improvement
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Continuous Integration
-
Tags:
-
Backlog priority:1,000
-
Sprint:DevOps-16
Default max heap size is 1/4 of the total memory, this can give very different results from a 8g ram to 120g ram slave.
For instance the jenkins slave.jar is launched without heap configuration the RSS can grow up to 30g in theory.
Our default surefire configuration for unit test is set with -Xmx1g, but module that override the org.apache.maven.plugins argLine configuration are back to default JVM.
See
This can create different behavior for tests because GC on huge heap can generate very long pause (especially if there are swap available on the server)
See
<build> <plugins> <!-- This is needed to prevent GC overflow in test suite with Chronicle Queues --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <argLine>-disableassertions</argLine> </configuration> </plugin> </plugins> </build>