From 5f08311b2359050f554a304d5424abdf56e1f72e Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Mon, 13 Apr 2020 21:35:43 -0700 Subject: [PATCH] HBASE-24134 Down forked JVM heap size from 2800m to 2200m for jdk8 and jdk11 (#1451) (#1503) Down jdk8 forked jvm heap from 2800 to 2200 and the jdk11 heap from 3200 to 2200. Down the mvn size from 4G to 3.6G Change how many puts done by TestMultiRespectsLimits because made the test run the forked heap over 2.5G in size. Signed-off-by: Sean Busbey --- dev-support/docker/Dockerfile | 2 +- .../hbase/client/TestMultiRespectsLimits.java | 2 +- pom.xml | 14 ++++++-------- 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/dev-support/docker/Dockerfile b/dev-support/docker/Dockerfile index 3e8c4b08cee..686738ca615 100644 --- a/dev-support/docker/Dockerfile +++ b/dev-support/docker/Dockerfile @@ -178,7 +178,7 @@ RUN mkdir -p /usr/lib/jvm && \ # TODO (nd): is this really true? investigate and file a ticket. ENV SPOTBUGS_HOME '/opt/spotbugs' ENV MAVEN_HOME '/opt/maven' -ENV MAVEN_OPTS '-Xmx4G' +ENV MAVEN_OPTS '-Xmx3.6G' CMD ["/bin/bash"] diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestMultiRespectsLimits.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestMultiRespectsLimits.java index dec9f65716f..eaf1f9deb4c 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestMultiRespectsLimits.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestMultiRespectsLimits.java @@ -64,7 +64,7 @@ public class TestMultiRespectsLimits { private static final MetricsAssertHelper METRICS_ASSERT = CompatibilityFactory.getInstance(MetricsAssertHelper.class); private final static byte[] FAMILY = Bytes.toBytes("D"); - public static final int MAX_SIZE = 500; + public static final int MAX_SIZE = 100; @Rule public TestName name = new TestName(); diff --git a/pom.xml b/pom.xml index 96f08e020f9..461c8e8e385 100755 --- a/pom.xml +++ b/pom.xml @@ -1605,11 +1605,11 @@ 900 - 2800m - 2800m + 2200m + 2200m 3.2.0 - 3200m + 2200m