Skip to content

Commit

Permalink
Increase memory limit of test-runner
Browse files Browse the repository at this point in the history
Signed-off-by: André Silva <[email protected]>
  • Loading branch information
andre15silva committed Aug 25, 2021
1 parent c41b9b8 commit 8def263
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion nopol/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>2.14.1</version>
<configuration>
<argLine>${argLine}</argLine>
<argLine>-Xms2048m -Xmx2048m</argLine>
</configuration>
</plugin>
<plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ private void runFlacoco(NopolContext nopolContext, Metric metric) {
config.setJacocoIncludes(
model.getAllTypes().stream().map(CtTypeInformation::getQualifiedName).collect(Collectors.toSet()));
config.setComplianceLevel(nopolContext.getComplianceLevel());
config.setTestRunnerJVMArgs("-Xms2048m -Xmx2048m");
config.setTestRunnerVerbose(true);

// Set tests
Expand Down

0 comments on commit 8def263

Please sign in to comment.