Sathish, I was not able to find recommended memory requirements in cas docs. This guide has a suggestion https://paulchauvet.github.io/deploying-cas/setting-up-the-environment/tomcat/systemd-service/
Memory is cheap, I would start at 2G. See tomcat docs to configure this. Cas also has some performance testing options https://apereo.github.io/cas/6.6.x/high_availability/High-Availability-Performance-Testing.html Ray On Tue, 2023-10-31 at 03:10 -0700, Sathish Sekar wrote: Notice: This message was sent from outside the University of Victoria email system. Please be cautious with links and sensitive information. Earlier I was using CAS 6.3.7.4 at that time we had tomcat server minimum 512 and maximum 512 memory. But when I upgraded to 6.6.9 it is showing heap java.lang.OutOfMemoryError: Java heap space when i deployed in clustered servers. Can you provide more suggestions On Tuesday, October 31, 2023 at 12:33:42 AM UTC+5:30 Sathish Sekar wrote: Thanks Mohamed Amdouni. I'll give a try On Monday, October 30, 2023 at 10:23:38 PM UTC+5:30 Mohamed Amdouni wrote: Hello try to give more memory (set the Xmx jvm property ) 512 is very low in my opinion. Best regards. Le lun. 30 oct. 2023 à 17:45, Sathish Sekar <sathish...@gmail.com> a écrit : Hi Team, I have upgraded CAS 6.3.7.4 to 6.6.9. After deployment I'm getting java.lang.OutOfMemoryError: Java heap spaceand server is getting stopped. It is stand alone application running in 3 clustered servers. Tomcat Catalina opts memory min 512 and max 512. I don't find any exceptions in logs. But my catalina.out.log is crossing more than 500mb in usage. Kindly do needful. Please find the logs below [290380.058s][info][gc] GC(50184) Pause Full (G1 Evacuation Pause) 510M->510M(512M) 469.263ms [290380.538s][info][gc] GC(50185) Pause Full (G1 Evacuation Pause) 510M->510M(512M) 480.044ms [290380.540s][info][gc] GC(50180) Concurrent Cycle 1473.486ms [290380.546s][info][gc] GC(50186) Pause Young (Normal) (G1 Evacuation Pause) 510M->510M(512M) 4.905ms [290381.023s][info][gc] GC(50187) Pause Full (G1 Evacuation Pause) 510M->510M(512M) 476.467ms [290381.498s][info][gc] GC(50188) Pause Full (G1 Evacuation Pause) 510M->510M(512M) 474.670ms java.lang.OutOfMemoryError: Java heap space Dumping heap to /appdumps/cpa-cas.tomcat/java_pid9527.hprof ... [290381.580s][info][gc] GC(50189) Pause Young (Concurrent Start) (G1 Evacuation Pause) 510M->510M(512M) 7.915ms [290381.588s][info][gc] GC(50191) Concurrent Cycle [290382.097s][info][gc] GC(50190) Pause Full (G1 Evacuation Pause) 510M->510M(512M) 516.300ms [290382.098s][info][gc] GC(50191) Concurrent Cycle 509.166ms 2023-10-30 07:01:45,456 DEBUG [org.apereo.cas.services.AbstractRegisteredServiceAttributeReleasePolicy] - Final collection of attributes allowed are: [{CN=[01786fef-9779-4370-ba5a-1502e4841cdf], uid=[01786fef-9779-4370-ba5a-1502e4841cdf]}] 2023-10-30 07:01:45,457 INFO [org.apereo.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - Audit trail record BEGIN ============================================================= WHO: ceja.ste...@gmail.com WHAT: {result=Service Access Granted, service=https://cp.mercuryinsurance.com/customer/, requiredAttributes={}} ACTION: SERVICE_ACCESS_ENFORCEMENT_TRIGGERED APPLICATION: CAS WHEN: Mon Oct 30 07:01:45 PDT 2023 CLIENT IP ADDRESS: 23.206.195.119,2603:8001:4bf0:12b0:85d2:65:b0be:654b SERVER IP ADDRESS: 10.34.196.41 ============================================================= [290382.109s][info][gc] GC(50192) To-space exhausted -- - 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 tocas-user+u...@apereo.org. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/9a4190e9-f259-433a-9b2a-fd56f38a3789n%40apereo.org<https://groups.google.com/a/apereo.org/d/msgid/cas-user/9a4190e9-f259-433a-9b2a-fd56f38a3789n%40apereo.org?utm_medium=email&utm_source=footer>. -- - 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 cas-user+unsubscr...@apereo.org. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/02191dc5e4e2872f976a5d43eca5474482126af5.camel%40uvic.ca.