HADOOP-15279. increase maven heap size recommendations

Signed-off-by: Jason Lowe <jlowe@apache.org>
Signed-off-by: Chris Douglas <cdouglas@apache.org>
(cherry picked from commit d4cc50f62279dc4d607cd05c16de480a76f05880)
This commit is contained in:
Allen Wittenauer 2018-03-01 12:53:19 -08:00 committed by Akira Ajisaka
parent 283d48a4f7
commit 5aaf88d401
No known key found for this signature in database
GPG Key ID: C1EDBB9CA400FD50
2 changed files with 3 additions and 3 deletions

View File

@ -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 and 512 MB 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 -Xmx512m"
export MAVEN_OPTS="-Xms256m -Xmx1536m"
----------------------------------------------------------------------------------

View File

@ -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
###