From 1e8b68cbc5108f7d028c70e005bb401584abedcb Mon Sep 17 00:00:00 2001 From: Matthias Sohn Date: Wed, 22 May 2019 14:42:43 +0200 Subject: Tune max heap size for tests This is an attempt to fix crashes observed on the new Jenkins infrastructure running on Kubernetes [1]. Increase it to 512m for - org.eclipse.jgit.ant.test - org.eclipse.jgit.http.test - org.eclipse.jgit.lfs.server.test - org.eclipse.jgit.lfs.test - org.eclipse.jgit.pgm.test Decrease it to 768m for - org.eclipse.jgit.test [1] e.g. https://ci-staging.eclipse.org/jgit/job/stable/job/jgit.gerrit/16074/console Change-Id: Id074ed0f7bcb8a13da649a547342af2a08439d9f Signed-off-by: Matthias Sohn (cherry picked from commit e19e859977525c2a39aaa928dfdef20e5fab7e3c) --- org.eclipse.jgit.lfs.server.test/BUILD | 2 +- org.eclipse.jgit.lfs.server.test/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'org.eclipse.jgit.lfs.server.test') diff --git a/org.eclipse.jgit.lfs.server.test/BUILD b/org.eclipse.jgit.lfs.server.test/BUILD index 1341dd6011..fb0d6918fd 100644 --- a/org.eclipse.jgit.lfs.server.test/BUILD +++ b/org.eclipse.jgit.lfs.server.test/BUILD @@ -32,7 +32,7 @@ junit_tests( exclude = TEST_BASE, ), jvm_flags = [ - "-Xmx256m", + "-Xmx512m", "-Dfile.encoding=UTF-8", ], tags = ["lfs-server"], diff --git a/org.eclipse.jgit.lfs.server.test/pom.xml b/org.eclipse.jgit.lfs.server.test/pom.xml index 2cbbd021e9..2f6b1bd84d 100644 --- a/org.eclipse.jgit.lfs.server.test/pom.xml +++ b/org.eclipse.jgit.lfs.server.test/pom.xml @@ -137,7 +137,7 @@ maven-surefire-plugin - -Djava.io.tmpdir=${project.build.directory} -Xmx300m + @{argLine} -Djava.io.tmpdir=${project.build.directory} -Xmx512m -- cgit v1.2.3