Symptoms:
VMware Cloud Foundation 4.x
In /etc/vmware/vcf/domainmanager/vcf-domain-manager.conf, it seems like the file is overwriting the environmental java_opts because we need to include the existing JAVA_OPTS environment variable and also wrap it in quotes.
For example, the value in the customer file is JAVA_OPTS=-Xmx1024m, but instead it should be JAVA_OPTS="${JAVA_OPTS} -Xmx1024m"
cat /usr/lib/systemd/system.conf.d/01-java11-systemwide-java-options.confsystemctl daemon-reload systemctl restart domainmanager