RE: Xms Xmx in JAVA_OPT vs CATALINA_OPTS

2021-08-03 Thread Mark Thomas
On August 3, 2021 7:34:37 PM UTC, Adam Elliott wrote: Adam, As per the reasoning in Olaf's email you really should be using CATALINA_OPTS rather than JAVA_OPTS. Mark >From my understanding, setenv is not a default file, and any settings >inside are "custom". And all of these options are used

RE: Xms Xmx in JAVA_OPT vs CATALINA_OPTS

2021-08-03 Thread Adam Elliott
From my understanding, setenv is not a default file, and any settings inside are "custom". And all of these options are used by the JVM, so in your case thy are probably redundant. I only use JAVA_OPTS under setenv.sh and use it in a way to add my options to the startup. export JAVA_OPTS="$JA

Re: Xms Xmx in JAVA_OPT vs CATALINA_OPTS

2021-08-02 Thread Olaf Kock
Onno, On 03.08.21 04:57, Onno van der Straaten wrote: > Hi, > I was looking at a Tomcat deployment and noticed settings in setenv.sh as > shown below. I noticed that Xms and Xmx is in JAVA_OPTS and CATALINA_OPTS > with the exact same settings. Do these settings make sense? What is the > purpos