From 8def26357c33be59ddb8976a7731c173ef2d664b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Silva?= Date: Wed, 25 Aug 2021 16:03:11 +0200 Subject: [PATCH] Increase memory limit of test-runner MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: André Silva --- nopol/pom.xml | 2 +- .../java/fr/inria/lille/localization/FlacocoFaultLocalizer.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/nopol/pom.xml b/nopol/pom.xml index 267b72f3..fff226ee 100644 --- a/nopol/pom.xml +++ b/nopol/pom.xml @@ -279,7 +279,7 @@ maven-surefire-plugin 2.14.1 - ${argLine} + -Xms2048m -Xmx2048m diff --git a/nopol/src/main/java/fr/inria/lille/localization/FlacocoFaultLocalizer.java b/nopol/src/main/java/fr/inria/lille/localization/FlacocoFaultLocalizer.java index da51d743..72f91a0c 100644 --- a/nopol/src/main/java/fr/inria/lille/localization/FlacocoFaultLocalizer.java +++ b/nopol/src/main/java/fr/inria/lille/localization/FlacocoFaultLocalizer.java @@ -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