[Building Sakai] sakai configuration / swap space

Jon Wheat jwheat at messiah.edu
Tue Jun 8 10:49:41 PDT 2010


Thanks for the recommendation, I had someone mention the same thing here (I'm at a conference).

I just today at noon set my JAVA_OPTS to this :

 -server -XX:+UseParallelGC -Xms1024m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=256m -verbose:gc -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -Djava.awt.headless=true -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false

making the ms and mx the same, lowering some values as well as enabling the verbose gc stuff so I can see how much its actually doing.

Garbage collections seems to be pretty active, not sure what's normal though.

Here's the java version information you've requested -

java version "1.5.0_22"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_22-b03)
Java HotSpot(TM) Server VM (build 1.5.0_22-b03, mixed mode)

-Jon


>>> Seth Theriault <slt at columbia.edu> 06/08/10 12:45 PM >>>
Jon Wheat wrote:

> I ran a ps -ef | grep java after sakai comes up and I can see 
> the proper JAVA_OPTS (or at least the ones I've set) so I know 
> they're making it into the mix.

I am a bit late to this discussion, but have you tried setting 
-Xms and -Xmx to the same value (e.g., 2048m)? And, can you send 
the output of 
java -version?

Seth




More information about the sakai-dev mailing list