java.lang.OutOfMemoryError: PermGen space

Google Groups | pavitra | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

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

    Google Groups | 9 months 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