Add the permgen option, CDM wants it even with java 8.

This commit is contained in:
Andrea Dell'Amico 2020-07-31 11:21:46 +02:00
parent e17f1cb07b
commit 2de6e30fb8
1 changed files with 2 additions and 2 deletions

View File

@ -20,5 +20,5 @@ export CMF_JDBC_DRIVER_JAR="{{ cdh_cmf_jdbc_pg_driver }}"
#
# Default value sets Java maximum heap size to 2GB, and Java maximum permanent
# generation size to 256MB.
#
export CMF_JAVA_OPTS="{{ cdh_cmf_java_opts }}"
# Note that Java 8 removed PermGen, but the CDM server refuses to start if it is not defined, and bigger than 128M
export CMF_JAVA_OPTS="{{ cdh_cmf_java_opts }} -XX:MaxPermSize=512M"