Thanks so much for the quick responses, it's greatly appreciated! I'll try 
those options, and look into a java update soon.

On Friday, July 1, 2016 at 12:21:26 PM UTC-7, Christopher Myers wrote:
>
> Not sure if this will help, but here's some notes I took when I was 
> configuring our memory management stuff; we're using Java 7 still.
>
> Our Tomcat setenv.sh looks like:
>
> CATALINA_OPTS="-Xms6g -Xmx6g -Xss512k 
> -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true 
> -XX:+UseCompressedOops -XX:MaxPermSize=256m -XX:NewRatio=3 
> -XX:SurvivorRatio=8 -XX:+UseConcMarkSweepGC -XX:+UseParNewGC 
> -XX:+DisableExplicitGC -XX:+UseCMSInitiatingOccupancyOnly 
> -XX:+CMSClassUnloadingEnabled -XX:+CMSScavengeBeforeRemark 
> -XX:CMSInitiatingOccupancyFraction=68"
>
> (We run more than CAS on the TC instance though, it sounds like you won't 
> need anything this big.)
>
> Chris
>
> >>> Jeffrey Wong <[email protected] <javascript:>> 07/01/16 2:08 PM >>>
> Hey there!
>
> I'm running a pretty vanilla CAS system as a login system for a few 
> internal applications at my company at a pretty low traffic rate. My CAS 
> deployment fell off this morning (running 4.2.2) due to Permgen out of 
> memory issues. I've got a few questions as to how best to mitigate CAS' 
> downtime.
>
> Suggestions seem to say that CMSClassUnloadingEnabled should be ticked. 
> Does this help to alleviate issues? (Flag is for cleaning up unused classes 
> out of memory. Does CAS dynamically allocate many classes at runtime that I 
> should be worried about, or am I misconfiguring something?)
>
> I also control the environment and wondering if java 8's memory management 
> and GC implementation would help to mitigate this kind of stuff. Is 4.2.2 
> supported in java 8 or do I have to wait for the v5 to drop? Does java8 
> help with memory management?
>
> Appreciate any assistance,
> -Jeff
>
> -- 
> 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] <javascript:>.
> To post to this group, send email to [email protected] <javascript:>.
> Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/
> .
> To view this discussion on the web visit 
> https://groups.google.com/a/apereo.org/d/msgid/cas-user/8e789406-054c-4641-b7be-dae197732454%40apereo.org
>  
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/8e789406-054c-4641-b7be-dae197732454%40apereo.org?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/a/apereo.org/d/optout.
>

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/a7a6177f-ac10-45ed-9576-ac95c36ec394%40apereo.org.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.

Reply via email to