java.lang.OutOfMemoryError: PermGen space

Stack Overflow | None | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    OutOfMemory: PermGen space using the URLClassLoaer

    Oracle Community | 7 years ago | 843798
    java.lang.OutOfMemoryError: PermGen space
  2. 0

    Weblogic Upgradefrom 10.0 to 12c - Spring Issue

    Stack Overflow | 3 years ago | AVI
    java.lang.OutOfMemoryError: PermGen space
  3. 0

    OOM CompressedClassSpace issue

    Oracle Community | 2 years ago | 543b8d1a-fe42-46f1-b91f-1f704518f375
    java.lang.OutOfMemoryError: Compressed class space
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Using Spark 1.0 with Altiscale – Altiscale Docs

    zendesk.com | 2 years ago
    java.lang.OutOfMemoryError: PermGen space at java.lang.ClassLoader.defineClass1(Native Method)>
  6. 0

    NoClassDefFoundError: scala/reflect/internal/Trees in latest 1.2.0 snapshot

    GitHub | 4 years ago | tommcp
    java.lang.NoClassDefFoundError: scala/reflect/internal/Trees at java.lang.ClassLoader.defineClass1(Native Method)

    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
      Class.getDeclaredMethods
      1. java.lang.ClassLoader.defineClass1(Native Method)
      2. java.lang.ClassLoader.defineClass(ClassLoader.java:800)
      3. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
      4. java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
      5. java.net.URLClassLoader.access$100(URLClassLoader.java:71)
      6. java.net.URLClassLoader$1.run(URLClassLoader.java:361)
      7. java.net.URLClassLoader$1.run(URLClassLoader.java:355)
      8. java.security.AccessController.doPrivileged(Native Method)
      9. java.net.URLClassLoader.findClass(URLClassLoader.java:354)
      10. java.lang.ClassLoader.loadClass(ClassLoader.java:425)
      11. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
      12. java.lang.ClassLoader.loadClass(ClassLoader.java:358)
      13. java.lang.Class.getDeclaredMethods0(Native Method)
      14. java.lang.Class.privateGetDeclaredMethods(Class.java:2570)
      15. java.lang.Class.getDeclaredMethods(Class.java:1855)
      15 frames
    3. Spark
      SerDeUtil$.javaToPython
      1. org.apache.spark.util.ClosureCleaner$.org$apache$spark$util$ClosureCleaner$$clean(ClosureCleaner.scala:206)
      2. org.apache.spark.util.ClosureCleaner$.clean(ClosureCleaner.scala:132)
      3. org.apache.spark.SparkContext.clean(SparkContext.scala:1891)
      4. org.apache.spark.rdd.RDD$$anonfun$mapPartitions$1.apply(RDD.scala:683)
      5. org.apache.spark.rdd.RDD$$anonfun$mapPartitions$1.apply(RDD.scala:682)
      6. org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:148)
      7. org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:109)
      8. org.apache.spark.rdd.RDD.withScope(RDD.scala:286)
      9. org.apache.spark.rdd.RDD.mapPartitions(RDD.scala:682)
      10. org.apache.spark.api.python.SerDeUtil$.javaToPython(SerDeUtil.scala:140)
      10 frames
    4. Spark Project SQL
      DataFrame.javaToPython
      1. org.apache.spark.sql.DataFrame.javaToPython(DataFrame.scala:1435)
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    6. Py4J
      ReflectionEngine.invoke
      1. py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:231)
      2. py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:379)
      2 frames