Re: getting PermGen:Out of memory exception

39 views
Skip to first unread message

Thomas Bayer

unread,
May 6, 2013, 10:32:27 AM5/6/13
to membrane...@googlegroups.com
Hi,
when do you get the error. Immediately after startup or later? Can you post an error message?

--
Thomas

Am 5/6/13 1:50 PM, schrieb Ankit Agarwal:
Hi

I am starting the server by using the following configuration

java -jar ./start.jar -Xms2048m -Xmx3076m -XX:PermSize=516M -XX:MaxPermSize=1024M -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled


Still getting the error.Please help.
--
Sie haben diese Nachricht erhalten, weil Sie der Google Groups-Gruppe membrane-registry beigetreten sind.
Um Ihr Abonnement für diese Gruppe zu beenden und keine E-Mails mehr von dieser Gruppe zu erhalten, senden Sie eine Email an membrane-regis...@googlegroups.com.
Wenn Sie Nachrichten in dieser Gruppe posten möchten, senden Sie eine E-Mail an membrane...@googlegroups.com.
Gruppe besuchen: http://groups.google.com/group/membrane-registry?hl=de
Weitere Optionen: https://groups.google.com/groups/opt_out
 
 

Ankit Agarwal

unread,
May 7, 2013, 8:19:22 AM5/7/13
to membrane...@googlegroups.com
I get the error after i use the application for some time.Around 20-25 minutes later.

Ankit Agarwal

unread,
May 7, 2013, 8:26:26 AM5/7/13
to membrane...@googlegroups.com
ERROR StackTrace  - Sanitizing stacktrace:
java.lang.OutOfMemoryError: PermGen space
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
        at org.codehaus.groovy.reflection.ClassLoaderForClassArtifacts.define(ClassLoaderForClassArtifacts.java:42)
        at org.codehaus.groovy.reflection.ClassLoaderForClassArtifacts$1.run(ClassLoaderForClassArtifacts.java:86)
        at org.codehaus.groovy.reflection.ClassLoaderForClassArtifacts$1.run(ClassLoaderForClassArtifacts.java:84)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.codehaus.groovy.reflection.ClassLoaderForClassArtifacts.defineClassAndGetConstructor(ClassLoaderForClassArtifacts.java:84)
        at org.codehaus.groovy.runtime.callsite.CallSiteGenerator.compilePojoMethod(CallSiteGenerator.java:227)
        at org.codehaus.groovy.reflection.CachedMethod.createPojoMetaMethodSite(CachedMethod.java:244)
        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.createCachedMethodSite(PojoMetaMethodSite.java:158)
        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.createPojoMetaMethodSite(PojoMetaMethodSite.java:147)
        at groovy.lang.MetaClassImpl.createPojoCallSite(MetaClassImpl.java:3003)
        at groovy.lang.ExpandoMetaClass.createPojoCallSite(ExpandoMetaClass.java:1252)
        at org.codehaus.groovy.runtime.callsite.CallSiteArray.createPojoSite(CallSiteArray.java:114)
        at org.codehaus.groovy.runtime.callsite.CallSiteArray.createCallSite(CallSiteArray.java:148)
        at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
        at org.codehaus.groovy.grails.plugins.web.taglib.SitemeshTagLib$_closure5.doCall(SitemeshTagLib.groovy:166)
        at sun.reflect.GeneratedMethodAccessor966.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:88)
        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1058)
        at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1070)
        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886)
        at groovy.lang.Closure.call(Closure.java:276)
        at org.codehaus.groovy.grails.web.pages.GroovyPage.invokeTag(GroovyPage.java:369)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

Ankit Agarwal

unread,
May 7, 2013, 8:28:50 AM5/7/13
to membrane...@googlegroups.com

May be the file could help
stacktrace.log

Thomas Bayer

unread,
May 14, 2013, 8:21:24 AM5/14/13
to membrane...@googlegroups.com
Increase the following value:

-XX:MaxPermSize=1500M

--
Thomas

Am 5/7/13 2:28 PM, schrieb Ankit Agarwal:
--
Reply all
Reply to author
Forward
0 new messages