Skip to content

Commit

Permalink
Specify 2GB max heap for tests
Browse files Browse the repository at this point in the history
`-Xmx2g` is needed for Jenkins where RAM is low.

SDK doesn't specify `-Xmx` anymore, see
eclipse-platform#1463
  • Loading branch information
iloveeclipse committed Oct 25, 2023
1 parent 10afb28 commit 82fe400
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion eclipse-platform-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,12 @@
<version>${tycho.version}</version>
<configuration>
<enableAssertions>true</enableAssertions>
<argLine>${surefire.testArgLine} ${surefire.platformSystemProperties} ${surefire.systemProperties} ${surefire.moduleProperties}</argLine>
<!--
-Xmx2g is needed for Jenkins where RAM is low. SDK doesn't specify -Xmx,
see https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/issues/1463
-Xmx2g added first, to allow following entries override it (JVM uses always the last one)
-->
<argLine>-Xmx2g ${surefire.testArgLine} ${surefire.platformSystemProperties} ${surefire.systemProperties} ${surefire.moduleProperties}</argLine>
</configuration>
</plugin>
<plugin>
Expand Down

0 comments on commit 82fe400

Please sign in to comment.