java.lang.OutOfMemoryError: PermGen space

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

java.lang.OutOfMemoryError: PermGen space
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1814)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1325)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:191)
at org.hibernate.mapping.PersistentClass.getMappedClass(PersistentClass.java:119)
at org.hibernate.tuple.PropertyFactory.getGetter(PropertyFactory.java:191)
at org.hibernate.tuple.PropertyFactory.buildIdentifierProperty(PropertyFactory.java:67)
at org.hibernate.tuple.entity.EntityMetamodel.(EntityMetamodel.java:136)
at org.hibernate.persister.entity.AbstractEntityPersister.(AbstractEntityPersister.java:456)
at org.hibernate.persister.entity.SingleTableEntityPersister.(SingleTableEntityPersister.java:131)
at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:84)
at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:267)
at com.stpl.pms.hibernate.factory.HibernateSessionFactory.(HibernateSessionFactory.java:33)
at com.stpl.loyalty.database.layer.access.BaseHibernateDAO.getSession(BaseHibernateDAO.java:21)
at com.stpl.loyalty.database.layer.access.StLpPlayerLockDAO.getSession(StLpPlayerLockDAO.java)
at com.stpl.loyalty.database.layer.access.StLpPlayerLockDAO.findByExample(StLpPlayerLockDAO.java:82)
at com.stpl.loyalty.database.layer.access.StLpPlayerLockDAO.releaseAll(StLpPlayerLockDAO.java:264)
at com.stpl.loyalty.database.layer.service.PlayerLockService.unlockAll(PlayerLockService.java:42)
at com.stpl.loyalty.StartLoyaltyThreads.unlockPlayers(StartLoyaltyThreads.java:36)
at com.stpl.loyalty.StartLoyaltyThreads.contextInitialized(StartLoyaltyThreads.java:16)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3856)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4361)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)

Users with the same issue

Once, 6 months ago
Once, 9 months ago
Once, 1 year ago
Once, 1 year ago
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.