[Building Sakai] Perm Gen Space Error

Anand Mehta anand.mehta at yahoo.com
Fri Nov 12 08:53:26 PST 2010


Hi Doreen,

Please make sure that-XX:MaxPermSize is set to at least 512MB in Tomcat's 
bin/setenv.sh file.

Thanks,
Anand




________________________________
From: Doreen Minich <DMinich at messiah.edu>
To: sakai-dev at collab.sakaiproject.org
Sent: Fri, November 12, 2010 7:34:34 AM
Subject: [Building Sakai] Perm Gen Space Error

Good Morning,
Who has some suggestions to resolve a PermGen space error issue we continue to 
have on our server?  Seems we can keep our server up for two weeks straight 
without it crashing on the following error.  It's so bad we've started to keep a 
calendar and log the crashes.  

One of my co-workers has been working on this and has implemented many of the 
suggestions but nothing has been a fix yet.  We're hoping for new, not yet tried 
solutions that will be our final fix.  I've included a bunch of information 
below that may or may not be helpful.
.....
This information will automatically be included in your bug report.
org.sakaiproject.portal.api.PortalHandlerException: 
org.sakaiproject.tool.api.ToolException: PermGen space
    at 
org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:768)

caused by: org.sakaiproject.tool.api.ToolException: PermGen space
    at 
org.sakaiproject.portal.charon.SkinnableCharonPortal.forwardTool(SkinnableCharonPortal.java:1221)

caused by: javax.servlet.ServletException: PermGen space
    at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)

caused by: javax.faces.FacesException: PermGen space
    at 
org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:211)

caused by: org.apache.jasper.JasperException: PermGen space
    at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
caused by: javax.servlet.ServletException: PermGen space
    at 
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:774)

caused by: java.lang.OutOfMemoryError: PermGen space


user: admin

usage-session: 76934120-87c7-4ca7-a4bb-c769fdff82c4

time: Nov 11, 2010 08:48:02
 

Above error copied from Gradebook. Same message visible in Calendar (on Home 
Page).  Users reporting slow response time. 
 
Available Memory: 238225096 (as listed in Admin Workspace/Memory)
 
>From Services
Mem: 4083952k total, 3739424k used, 344528 free, 580704k buffers
Swap: 4192924 total, 56k used, 4192868k free, 1146636k cached
java virt 1619m, 1.5g res, 21m shr, %cpu 3, %MEM 38.5 
 
I Reset All Caches (Admin Workspace/Memory)
Memory: 445121856
Reset of cache had no affect on PermGen Space Error
Java CPU % over 100 now
 
139 Sessions listed
 
TIA, Dorie


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20101112/e039cbf5/attachment.html 


More information about the sakai-dev mailing list