Explorar o código

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)
(cherry picked from commit dbd69cb2ce2a060e36280b222cac05fc05e065d1)
Allen Wittenauer %!s(int64=7) %!d(string=hai) anos
pai
achega
ef54f78530
Modificáronse 2 ficheiros con 3 adicións e 3 borrados
  1. 2 2
      BUILDING.txt
  2. 1 1
      dev-support/docker/Dockerfile

+ 2 - 2
BUILDING.txt

@@ -267,10 +267,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"
 
 ----------------------------------------------------------------------------------
 

+ 1 - 1
dev-support/docker/Dockerfile

@@ -132,7 +132,7 @@ RUN pip install python-dateutil
 ###
 # Avoid out of memory errors in builds
 ###
-ENV MAVEN_OPTS -Xms256m -Xmx512m
+ENV MAVEN_OPTS -Xms256m -Xmx1536m
 
 ###
 # Install node js tools for web UI frameowkr