File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 256256 </activation >
257257 <build >
258258 <plugins >
259- <!-- Configure the maven-surefire-plugin to use a heap size of 2gb while running tests. -->
259+ <!-- Configure the maven-surefire-plugin to use a heap size of 4gb while running tests. -->
260260 <!-- forkCount=1 with reuseForks=true runs tests in a single forked JVM; -->
261261 <!-- without this, argLine (and therefore -Xmx) would be ignored because -->
262262 <!-- tests would share Maven's own JVM (whose heap defaults are smaller and -->
269269 <configuration >
270270 <forkCount >1</forkCount >
271271 <reuseForks >true</reuseForks >
272- <argLine >-Xmx2g -da -Dimagej.legacy.disable=true</argLine >
272+ <argLine >-Xmx4g -da -Dimagej.legacy.disable=true</argLine >
273273 </configuration >
274274 </plugin >
275275 </plugins >
279279 <id >coverage</id >
280280 <build >
281281 <plugins >
282- <!-- Configure the maven-surefire-plugin to use a heap size of 2gb while running tests for jacoco coverage analysis. -->
282+ <!-- Configure the maven-surefire-plugin to use a heap size of 4gb while running tests for jacoco coverage analysis. -->
283283 <!-- forkCount=1 with reuseForks=true keeps the jacoco agent argLine effective -->
284284 <!-- against a forked test JVM rather than Maven's own (see comment in the -->
285285 <!-- default profile above). -->
291291 <configuration >
292292 <forkCount >1</forkCount >
293293 <reuseForks >true</reuseForks >
294- <argLine >@{argLine} -Xmx2g -da</argLine >
294+ <argLine >@{argLine} -Xmx4g -da</argLine >
295295 </configuration >
296296 </plugin >
297297 <plugin >
You can’t perform that action at this time.
0 commit comments