[Building Sakai] GC for Java 7

Stephen Marquard stephen.marquard at uct.ac.za
Sun Sep 8 22:58:53 PDT 2013


We are using the new(ish) G1 collector with java 7:

 -XX:+UseG1GC -XX:MaxGCPauseMillis=3000

which works reasonably all, although it doesn't always stick to MaxGCPauseMillis. The worst case full GC pause we've seen is 50s (on a heap size of around 5G) though that is quite rare.

Regards
Stephen

________________________________________
From: sakai-dev-bounces at collab.sakaiproject.org [sakai-dev-bounces at collab.sakaiproject.org] on behalf of Sobieralski, Damian Michael [dsobiera at indiana.edu]
Sent: 09 September 2013 04:10 AM
To: sakai-dev at collab.sakaiproject.org
Subject: [Building Sakai] GC for Java 7

When we were running pre Java 7, it was determined these to be our JAVA_OPTS (in part) for GC.  We are noticing that lately (we are running Java 7) that GC seems to be functioning in a less than efficient way.

What we had for pre Java 7:

-Xmn2g -XX:+UseParNewGC -XX:+UseConcMarkSweepGC  -XX:+CMSParallelRemarkEnabled -XX:+ParallelRefProcEnabled -XX:ReservedCodeCacheSize=192m

A lot of these are black box incantations to me. Do these setting look optimal/useful for Java 7?

- Damian
_______________________________________________
sakai-dev mailing list
sakai-dev at collab.sakaiproject.org
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"

________________________________
 UNIVERSITY OF CAPE TOWN

This e-mail is subject to the UCT ICT policies and e-mail disclaimer published on our website at http://www.uct.ac.za/about/policies/emaildisclaimer/ or obtainable from +27 21 650 9111. This e-mail is intended only for the person(s) to whom it is addressed. If the e-mail has reached you in error, please notify the author. If you are not the intended recipient of the e-mail you may not use, disclose, copy, redirect or print the content. If this e-mail is not related to the business of UCT it is sent by the sender in the sender's individual capacity.



More information about the sakai-dev mailing list