RE: Xms Xmx in JAVA_OPT vs CATALINA_OPTS

2021-08-03 Thread Mark Thomas
MSClassUnloadingEnabled\ > -Xss256k\ > -Xms974M\ > -Xmn974M\ > -Xmx1948M" > >Adam > >-Original Message- >From: Onno van der Straaten >Sent: Monday, August 2, 2021 7:57 PM >To: users@tomcat.apache.org >Subject: Xms Xmx in JAVA_OPT vs CATALINA_OPTS > >

RE: Xms Xmx in JAVA_OPT vs CATALINA_OPTS

2021-08-03 Thread Adam Elliott
JAVA_OPTS="$JAVA_OPTS\ -XX:+UseParallelGC\ -XX:ParallelGCThreads=20\ -XX:+CMSClassUnloadingEnabled\ -Xss256k\ -Xms974M\ -Xmn974M\ -Xmx1948M" Adam -Original Message- From: Onno van der Straaten Sent: Monday, August 2, 2021 7:57 PM To: users@tomcat.apache.org Subject: Xm

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

Xms Xmx in JAVA_OPT vs CATALINA_OPTS

2021-08-02 Thread Onno van der Straaten
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 purpose of repeating those settings? I understand that JAVA_OPTS is f