From d4ae177e853b5035bfd53374185d164557eec6d5 Mon Sep 17 00:00:00 2001 From: Ian Young Date: Mon, 1 Aug 2016 15:44:26 +0100 Subject: [PATCH] Give production operations more Java heap space headroom. --- build.xml | 8 ++++++++ preprod.properties | 5 +++++ prod.properties | 5 +++++ 3 files changed, 18 insertions(+) diff --git a/build.xml b/build.xml index fe375d63..818dbc4d 100644 --- a/build.xml +++ b/build.xml @@ -250,6 +250,14 @@ --> + + diff --git a/preprod.properties b/preprod.properties index 0e03cf0d..e7eedb48 100644 --- a/preprod.properties +++ b/preprod.properties @@ -18,3 +18,8 @@ sign.uk.pkcs11Config = ${basedir}/mdx/uk/nshield.cfg # Signing key alias within the keystore. # sign.uk.keyAlias = UKAMF_Signing_Key + +# +# Give Java processes plenty of headroom in production. +# +java.max.memory = 1536m diff --git a/prod.properties b/prod.properties index b3baa8b8..c085dcd9 100644 --- a/prod.properties +++ b/prod.properties @@ -18,3 +18,8 @@ sign.uk.pkcs11Config = ${basedir}/mdx/uk/nshield.cfg # Signing key alias within the keystore. # sign.uk.keyAlias = UKAMF_Signing_Key + +# +# Give Java processes plenty of headroom in production. +# +java.max.memory = 1536m