Repository: hadoop Updated Branches: refs/heads/branch-2 bda2a9c2a -> dbd69cb2c
HADOOP-15279. increase maven heap size recommendations Signed-off-by: Jason Lowe <jl...@apache.org> Signed-off-by: Chris Douglas <cdoug...@apache.org> (cherry picked from commit d4cc50f62279dc4d607cd05c16de480a76f05880) Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/dbd69cb2 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/dbd69cb2 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/dbd69cb2 Branch: refs/heads/branch-2 Commit: dbd69cb2ce2a060e36280b222cac05fc05e065d1 Parents: bda2a9c Author: Allen Wittenauer <a...@apache.org> Authored: Thu Mar 1 12:53:19 2018 -0800 Committer: Akira Ajisaka <aajis...@apache.org> Committed: Tue Mar 6 13:58:31 2018 -0800 ---------------------------------------------------------------------- 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/dbd69cb2/BUILDING.txt ---------------------------------------------------------------------- diff --git a/BUILDING.txt b/BUILDING.txt index e7701a5..bf1172b 100644 --- a/BUILDING.txt +++ b/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" ---------------------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/dbd69cb2/dev-support/docker/Dockerfile ---------------------------------------------------------------------- diff --git a/dev-support/docker/Dockerfile b/dev-support/docker/Dockerfile index 79f587e..352be24 100644 --- a/dev-support/docker/Dockerfile +++ b/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 --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org