[Building Sakai] Sakai Out of memory perm gen error

Stephen Marquard stephen.marquard at uct.ac.za
Fri Oct 16 08:37:35 PDT 2009


On 64bit JVMs in production, more like

 -XX:MaxPermSize=512m 

Cheers
Stephen

>>> Aaron Zeckoski <aaronz at vt.edu> 2009/10/16 05:33 PM >>>
If you are running out of permgen then just add this:
-XX:MaxPermSize=250m

That should be more than enough.

I use this for development. If you scale up the settings a bit then
this should work for production as well though I would recommend
monitoring it and doing some minor tuning if you see issues.
-server -Xmx876m -XX:MaxPermSize=250m -Djava.awt.headless=true
-Dcom.sun.management.jmxremote

-AZ


On Fri, Oct 16, 2009 at 4:23 PM, Laura McCord <mccordl at southwestern.edu> wrote:
> I got the infamous out of memory error. Are there any suggestions on jvm
> garbage collection configurations for sakai?
>
> Thanks.
> _______________________________________________
> 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"
>



-- 
Aaron Zeckoski (azeckoski (at) vt.edu)
Senior Research Engineer - CARET - University of Cambridge
https://twitter.com/azeckoski - http://www.linkedin.com/in/azeckoski 
http://aaronz-sakai.blogspot.com/ - http://tinyurl.com/azprofile 
_______________________________________________
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"



More information about the sakai-dev mailing list