From 31b324a77eb1a4de1430af6569a749965647daf5 Mon Sep 17 00:00:00 2001 From: Ian Young Date: Fri, 30 Aug 2019 14:56:49 +0100 Subject: [PATCH] Update amount of memory available for Java heap Properties files have 512MB headroom over and above the development heap size. Documented that convention. --- build.xml | 10 +++++++++- preprod.properties | 3 ++- prod.properties | 3 ++- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/build.xml b/build.xml index b330994b..cb622466 100644 --- a/build.xml +++ b/build.xml @@ -347,8 +347,16 @@ This is used as the max heap setting for all Java invocations. This amount will be more than some invocations require, but there's no harm in having a higher limit for all of them. + + Note that this value is often overridden in production contexts (see, for example, + prod.properties) to give the production environment extra headroom. The value is + kept lower here so that we'll get warnings in development before the production + environment is affected. + + The overrides for production environments should be updated in step with the + value here whenever this is necessary. --> - +