Skip to content

Commit 8878b81

Browse files
lacgitlc
andauthored
Increase maxium heap size for testsuite (#692)
The `-Xmx` flag sets the maximum heap-size of the jvm. The change in this commit increase this limit for the unittest-runner from 2 gigabyte to 4 gigabyte, after reports of the testsuite failing with out-of-memory on certain systems. Co-authored-by: lc <[email protected]>
1 parent f8a5094 commit 8878b81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@
254254
<version>${chartfx.surefire.version}</version>
255255
<configuration>
256256
<!-- Jacoco prepare-agent builds some command-line params without which jacoco will not instrument. Hence it is important to add those command-line params here (${argLine} holds those params) -->
257-
<argLine>${argLine} -Duser.language=en -Duser.country=US -Xms256m -Xmx2048m -XX:G1HeapRegionSize=32m -Djava.awt.headless=true -Dtestfx.robot=glass -Dtestfx.headless=true -Dprism.order=sw</argLine>
257+
<argLine>${argLine} -Duser.language=en -Duser.country=US -Xms256m -Xmx4096m -XX:G1HeapRegionSize=32m -Djava.awt.headless=true -Dtestfx.robot=glass -Dtestfx.headless=true -Dprism.order=sw</argLine>
258258
<forkCount>1</forkCount>
259259
<rerunFailingTestsCount>3</rerunFailingTestsCount>
260260
<runOrder>random</runOrder>

0 commit comments

Comments
 (0)