[Deploying Sakai] java.lang.OutOfMemoryError: GC overhead limit exce eded

Mike De Simone michael.desimone at rsmart.com
Fri Mar 29 07:14:26 PDT 2013


this error indicates the -Xmx is too small.  For production, I would set it
to 2500m at least and depending on how many users you need to support, to
4g or more (for us, we usually go to 6g, but that's on Linux for
high-volume usage).  I would also consider removing the new size settings
to fall back to the default of -XX:NewRatio=3 (although setting to 5 is
also an option)



Thanks,

-------------------------------
Mike DeSimone
Application Operations Manager
*r**Smart* | 602-490-0473


On Fri, Mar 29, 2013 at 12:34 AM, Yasir Arfat <yasir.arfat at nu.edu.pk> wrote:

> sakai 2.8.2
> window server 2003
> we are using memory parameter
> JAVA_OPTS=-server -Xms1024m -Xmx1024m -XX:PermSize=256m
> -XX:MaxPermSize=512m          -XX:NewSize=192m -XX:MaxNewSize=384m
> One of our production server stop working , it shows following error.  can
> any one suggest  changes in memory parameter.
>
>
> 2013-03-29 09:21:41,640  INFO http-8080-5
> org.sakaiproject.email.impl.BasicEmail
> Service - Email.sendMail: from: SLATE -- Sakai Learning and Teaching
> Enviroment
> <no-reply at nu.edu.pk> subject: Bug Report:
> D20D777277B890777FDECAA94B578963D43CF1
> 8F /  (comment) to: slateisb at nu.edu.pk headerTo{to}: slateisb at nu.edu.pk
> Exception in thread "Timer-1" java.lang.OutOfMemoryError: GC overhead
> limit exce
> eded
> 2013-03-29 09:33:58,828  WARN http-8080-5
> org.sakaiproject.portal.util.ErrorRepo
> rter - Bug Report bug-id: d2bcd89b-f9d5-4df1-8055-6b4bbd9b709c user: null
> usage-
> session: null time: Mar 29, 2013 09:33:31 user comment: null stack trace
> java.lang.OutOfMemoryError: Java heap space
>
> Tool Placement:
> No Placement
>
> Request:
> :    AuthType:null
> :    CharEncoding:UTF-8
> :    ContentLength:-1
> :    ContentType:null
> :    ContextPath:/portal
> :    LocalAddress:172.16.100.121
> :    LocalName:isb282_sts1
> :    LocalPort:8080
> :    Method:GET
> :    PathInfo:/
> :    Protocol:HTTP/1.0
> :    QueryString:null
> :    RemoteAddress:172.16.100.201
> :    RemoteHost:172.16.100.201
> :    RemotePort:39776
> :    Requested URL:http://172.16.100.121:8080/portal
> :    Scheme:http
> :    ServerName:172.16.100.121
> :    Headers:
> :        Header:host:172.16.100.121:8080
> :
>  Header:accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*
> ;q=0.8
> :        Header:user-agent:Mozilla/5.0 (Windows NT 6.0) AppleWebKit/537.22
> (KHTM
> L, like Gecko) Chrome/25.0.1364.172 Safari/537.22
> :        Header:referer:http://172.16.100.121:8080/
> :        Header:accept-encoding:gzip,deflate,sdch
> :        Header:accept-language:en-US,en;q=0.8
> :        Header:accept-charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3
> :        Header:cookie:---censored---
> :        Header:via:1.1 FacultyProxy.nu.edu.pk:8080 (squid/2.6.STABLE21)
> :        Header:x-forwarded-for:172.16.13.137
> :        Header:cache-control:max-age=0
> :        Header:connection:keep-alive
> :    Parameters:
> :    Attributes:
> :
>  Attribute:sakai.character.encoding.done:sakai.character.encoding.done
> :        Attribute:sakai.filtered:sakai.filtered
> :
>  Attribute:sakai.session:org.sakaiproject.tool.impl.MySession at 98c3698e
> Session:
> :    Created:1364530657593
> :    LastAccess:1364531620609
> :    MaxInactive:3600
> :    Attributes:
>
> DEBUG: JavaMail version 1.4.3
> DEBUG: successfully loaded resource: /META-INF/javamail.default.providers
> DEBUG: Tables of loaded providers
> DEBUG: Providers Listed By Class Name:
> {com.sun.mail.smtp.SMTPSSLTransport=javax
> .mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun
> Microsyste
> ms, Inc],
> com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com
> .sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc],
> com.sun.mail.imap.IMAPSSLSt
> ore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun
> Microsyst
> ems, Inc], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,
> com.su
> n.mail.pop3.POP3SSLStore,Sun Microsystems, Inc],
> com.sun.mail.imap.IMAPStore=jav
> ax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems,
> Inc],
>
> com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP
> 3Store,Sun Microsystems, Inc]}
> 2013-03-29 09:34:15,953  WARN http-8080-5
> org.sakaiproject.portal.util.ErrorRepo
> rter - trouble reporting error to user:
> java.lang.OutOfMemoryError: GC overhead limit exceeded
>
>
> --
>
>
> Yasir Arfat | Software Engineer (LMS Administrator)
> http://slate.nu.edu.pk
> National University of Computer and Emerging Sciences
> A. K. Brohi Road (Near Police Line) H11/4 Islamabad
> Tel +92-(51)-111-128-128 Ext 344  Cell +92-(343)-8502276
>
>
> _______________________________________________
> production mailing list
> production at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/production
>
> TO UNSUBSCRIBE: send email to
> production-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/production/attachments/20130329/25b1840a/attachment.html 


More information about the production mailing list