java.lang.OutOfMemoryError: PermGen space

Google Groups | pavitra | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Using PowerMockito.mockStatic() with Drools throws java.lang.OutOfMemoryError: PermGen space

    Google Groups | 1 year ago | pavitra
    java.lang.OutOfMemoryError: PermGen space

    Root Cause Analysis

    1. java.lang.OutOfMemoryError

      PermGen space

      at com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.createCDATASection()
    2. Java RT
      CoreDocumentImpl.createCDATASection
      1. com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.createCDATASection(CoreDocumentImpl.java:585)
      1 frame
    3. Apache Ant + JUnit
      JUnitTestRunner.main
      1. org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter.formatOutput(XMLJUnitResultFormatter.java:328)
      2. org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter.setSystemOutput(XMLJUnitResultFormatter.java:122)
      3. org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.sendOutAndErr(JUnitTestRunner.java:827)
      4. org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:575)
      5. org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1182)
      6. org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1033)
      6 frames