I have spring-boot application running as a init service through the executable jar. Going through the documentation I wanted pass JAVA_OPTS for heap size to the executable jar.
Currently, the following config is being used
<embeddedLaunchScriptProperties>
<inlinedConfScript>JAVA_OPTS=-Xmx8000m -Xms8000m</inlinedConfScript>
</embeddedLaunchScriptProperties>
I am not sure it works as through jmap maxHeapSize is around 2000mb (2gb)
Has anyone tried this?