HADOOP-15279. increase maven heap size recommendations
Signed-off-by: Jason Lowe <jlowe@apache.org> Signed-off-by: Chris Douglas <cdouglas@apache.org>
This commit is contained in:
parent
29233c3c4a
commit
d4cc50f622
@ -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
|
it by increasing the memory used by maven which can be done via the environment
|
||||||
variable MAVEN_OPTS.
|
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
|
Maven
|
||||||
|
|
||||||
export MAVEN_OPTS="-Xms256m -Xmx1g"
|
export MAVEN_OPTS="-Xms256m -Xmx1536m"
|
||||||
|
|
||||||
----------------------------------------------------------------------------------
|
----------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@ -173,7 +173,7 @@ RUN apt-get -y install nodejs && \
|
|||||||
###
|
###
|
||||||
# Avoid out of memory errors in builds
|
# Avoid out of memory errors in builds
|
||||||
###
|
###
|
||||||
ENV MAVEN_OPTS -Xms256m -Xmx1g
|
ENV MAVEN_OPTS -Xms256m -Xmx1536m
|
||||||
|
|
||||||
|
|
||||||
###
|
###
|
||||||
|
Loading…
Reference in New Issue
Block a user