java.lang.OutOfMemoryError: PermGen space

GitHub | manojsingh1989 | 6 months ago
  1. 0

    OutOfMemoryError at openSession in JTATransaction

    Coderanch | 7 years ago | Mark OfSimon
    java.lang.OutOfMemoryError: PermGen space
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Crash Server - NoClassDefFoundError

    GitHub | 2 years ago | YouTy6bl4
    java.lang.NoClassDefFoundError: appeng/client/me/SlotME

  1. linxiaolong 1 times, last 5 months ago
6 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.OutOfMemoryError

    PermGen space

    at java.lang.ClassLoader.defineClass1()
  2. Java RT
    SecureClassLoader.defineClass
    1. java.lang.ClassLoader.defineClass1(Native Method)
    2. java.lang.ClassLoader.defineClass(ClassLoader.java:800)
    3. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    3 frames
  3. Glassfish Core
    WebappClassLoader.findClass
    1. org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1814)
    2. org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:872)
    2 frames
  4. JBoss Application Server Tomcat
    WebAppClassLoader.findClass
    1. org.jboss.web.tomcat.service.WebAppClassLoader.findClass(WebAppClassLoader.java:139)
    1 frame
  5. Glassfish Core
    WebappClassLoader.loadClass
    1. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1325)
    2. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
    2 frames
  6. Java RT
    Class.forName
    1. java.lang.Class.forName0(Native Method)
    2. java.lang.Class.forName(Class.java:191)
    2 frames
  7. Hibernate
    ReflectHelper.classForName
    1. org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:192)
    1 frame
  8. Hibernate
    SingleTableEntityPersister.<init>
    1. org.hibernate.mapping.PersistentClass.getMappedClass(PersistentClass.java:119)
    2. org.hibernate.tuple.PropertyFactory.getGetter(PropertyFactory.java:191)
    3. org.hibernate.tuple.PropertyFactory.buildIdentifierProperty(PropertyFactory.java:67)
    4. org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:136)
    5. org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:456)
    6. org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:131)
    6 frames
  9. Hibernate
    SessionFactoryImpl.<init>
    1. org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:84)
    2. org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:267)
    2 frames
  10. Hibernate
    Configuration.buildSessionFactory
    1. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1341)
    1 frame
  11. com.stpl.pms
    HibernateSessionFactory.<clinit>
    1. com.stpl.pms.hibernate.factory.HibernateSessionFactory.<clinit>(HibernateSessionFactory.java:33)
    1 frame
  12. com.stpl.loyalty
    StartLoyaltyThreads.contextInitialized
    1. com.stpl.loyalty.database.layer.access.BaseHibernateDAO.getSession(BaseHibernateDAO.java:21)
    2. com.stpl.loyalty.database.layer.access.StLpPlayerLockDAO.getSession(StLpPlayerLockDAO.java)
    3. com.stpl.loyalty.database.layer.access.StLpPlayerLockDAO.findByExample(StLpPlayerLockDAO.java:82)
    4. com.stpl.loyalty.database.layer.access.StLpPlayerLockDAO.releaseAll(StLpPlayerLockDAO.java:264)
    5. com.stpl.loyalty.database.layer.service.PlayerLockService.unlockAll(PlayerLockService.java:42)
    6. com.stpl.loyalty.StartLoyaltyThreads.unlockPlayers(StartLoyaltyThreads.java:36)
    7. com.stpl.loyalty.StartLoyaltyThreads.contextInitialized(StartLoyaltyThreads.java:16)
    7 frames
  13. Glassfish Core
    ContainerBase.addChild
    1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3856)
    2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4361)
    3. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)
    4. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)
    4 frames