[Building Sakai] sakai configuration / swap space

Matthew Jones jonespm at umich.edu
Tue Jun 8 11:03:20 PDT 2010


This post [1] suggests that this is/was common for ColdFusion and adding the
-Xint option disables the hotspot compiler which would lower performance,
but should make this message go away. It also suggests some tips on tracking
it down more specifically. It was information I didn't know previously
anyway.

I've never seen this error in any of our bug reports, but they're all 64 bit
systems. (Don't know if this is your case) I have read in some of sun's bug
reports that running a 64 bit jvm is also better for avoiding this if you
have a 64 bit os.

[1]
http://www.talkingtree.com/blog/index.cfm/2006/4/28/Understanding-HotSpot-in-Plain-English

On Tue, Jun 8, 2010 at 1:49 PM, Jon Wheat <jwheat at messiah.edu> wrote:

> 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
>
>
> _______________________________________________
> 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"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100608/086b9b8c/attachment.html 


More information about the sakai-dev mailing list