My mistake, I realized I was setting the max memory, using -Xms allows me 
to change the setting. Figures it was something small I overlooked.

Something interesting I noticed is that setting -Xms2G gives a JVM Maximum 
Memory: 1 GB and setting -Xms3G gives CAS the desired JVM Maximum Memory: 2 
GB. I assume the embedded tomcat application keeps 1 GB for itself?
On Wednesday, May 19, 2021 at 2:58:54 PM UTC-4 Jeremiah Garmatter wrote:

> Hello,
>
> I am running CAS 6.3.2 with embedded tomcat using the following command:
> /usr/bin/java -Xmx2G -jar /opt/production/cas.war
>
> I have 8GB of RAM, I'd like to run CAS with a maximum of 2GB of memory 
> (hence -Xmx2G) however, everytime CAS starts, it states that: JVM Maximum 
> Memory: 1 GB
>
> Any ideas why I can not set the max memory for my JVM to anything other 
> than 1GB?
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/e4293c6e-42da-4b3b-bf93-c0cf65d9fb66n%40apereo.org.

Reply via email to