diff --git a/BUILDING.txt b/BUILDING.txt index e7701a5bd4d..bf1172b0fc2 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" ---------------------------------------------------------------------------------- diff --git a/dev-support/docker/Dockerfile b/dev-support/docker/Dockerfile index 79f587e3f6d..352be249633 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