HADOOP-15279. increase maven heap size recommendations

Signed-off-by: Jason Lowe <jl...@apache.org>
Signed-off-by: Chris Douglas <cdoug...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/c8176b7d
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/c8176b7d
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/c8176b7d

Branch: refs/heads/YARN-7055
Commit: c8176b7dfdc543f9b7213c127032b79992e591a0
Parents: 62844db
Author: Allen Wittenauer <a...@apache.org>
Authored: Thu Mar 1 12:53:19 2018 -0800
Committer: Rohith Sharma K S <rohithsharm...@apache.org>
Committed: Fri Mar 2 11:08:29 2018 +0530

----------------------------------------------------------------------
 BUILDING.txt                  | 4 ++--
 dev-support/docker/Dockerfile | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/c8176b7d/BUILDING.txt
----------------------------------------------------------------------
diff --git a/BUILDING.txt b/BUILDING.txt
index dec3011..6c266e5 100644
--- a/BUILDING.txt
+++ b/BUILDING.txt
@@ -331,10 +331,10 @@ If the build process fails with an out of memory error, 
you should be able to fi
 it by increasing the memory used by maven which can be done via the environment
 variable MAVEN_OPTS.
 
-Here is an example setting to allocate between 256 MB and 1 GB of heap space to
+Here is an example setting to allocate between 256 MB and 1.5 GB of heap space 
to
 Maven
 
-export MAVEN_OPTS="-Xms256m -Xmx1g"
+export MAVEN_OPTS="-Xms256m -Xmx1536m"
 
 
----------------------------------------------------------------------------------
 

http://git-wip-us.apache.org/repos/asf/hadoop/blob/c8176b7d/dev-support/docker/Dockerfile
----------------------------------------------------------------------
diff --git a/dev-support/docker/Dockerfile b/dev-support/docker/Dockerfile
index bbc3e1f..6d05fe1 100644
--- a/dev-support/docker/Dockerfile
+++ b/dev-support/docker/Dockerfile
@@ -173,7 +173,7 @@ RUN apt-get -y install nodejs && \
 ###
 # Avoid out of memory errors in builds
 ###
-ENV MAVEN_OPTS -Xms256m -Xmx1g
+ENV MAVEN_OPTS -Xms256m -Xmx1536m
 
 
 ###


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to