java.lang.OutOfMemoryError: PermGen space

Coderanch | Niall Loughnane | 6 years ago
  1. 0

    Java Profiler

    Coderanch | 6 years ago | Niall Loughnane
    java.lang.OutOfMemoryError: PermGen space
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. linxiaolong 1 times, last 4 months ago
5 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.defineClassCond(ClassLoader.java:632)
    3. java.lang.ClassLoader.defineClass(ClassLoader.java:616)
    4. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
    4 frames
  3. Glassfish Core
    WebappClassLoader.loadClass
    1. org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1850)
    2. org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:890)
    3. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1354)
    4. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
    4 frames
  4. Hibernate
    QueryLoader.list
    1. org.hibernate.type.ListType.instantiate(ListType.java:27)
    2. org.hibernate.type.CollectionType.getCollection(CollectionType.java:606)
    3. org.hibernate.type.CollectionType.resolveKey(CollectionType.java:408)
    4. org.hibernate.type.CollectionType.resolve(CollectionType.java:402)
    5. org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:120)
    6. org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:854)
    7. org.hibernate.loader.Loader.doQuery(Loader.java:729)
    8. org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
    9. org.hibernate.loader.Loader.doList(Loader.java:2213)
    10. org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)
    11. org.hibernate.loader.Loader.list(Loader.java:2099)
    12. org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:378)
    12 frames
  5. Hibernate HQL/JP-QL Parser
    QueryTranslatorImpl.list
    1. org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
    1 frame
  6. Hibernate
    QueryImpl.list
    1. org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
    2. org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
    3. org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
    3 frames