java.lang.OutOfMemoryError: PermGen space

Pentaho BI Platform Tracking | Curtis Boyden | 6 years ago
  1. 0

    I keep getting OOM Exceptions on PermGen space. I am having a hard time reproducing this consistently. The only correlations seem to be connecting to an EE repository and repeatedly creating analyzer views and report views from a saved model that was generated from a transformation output step table. Here is one of the stack traces I have gotten (it's not the same everytime and sometimes there is no stack trace). Context. ResourceKey{schema=org.pentaho.reporting.libraries.docbundle.bundleloader.ZipResourceBundleLoader, identifier=content.xml, factoryParameters={org.pent Exception in thread "Thread-19" java.lang.OutOfMemoryError: PermGen space at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) at java.lang.ClassLoader.defineClass(ClassLoader.java:616) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at org.pentaho.di.core.plugins.KettleURLClassLoader.loadClass(KettleURLClassLoader.java:68) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at org.pentaho.reporting.engine.classic.core.layout.AbstractRenderer.<init>(AbstractRenderer.java:308) at org.pentaho.reporting.engine.classic.core.modules.output.pageable.base.PageableRenderer.<init>(PageableRenderer.java:55) at org.pentaho.reporting.engine.classic.core.modules.output.pageable.base.PageableReportProcessor.createLayoutManager(PageableReportProcessor.java:48) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:461) at org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.PrintReportProcessor.getNumberOfPages(PrintReportProcessor.java:79) at org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane$RepaginationRunnable.run(PreviewPane.java:274) at org.pentaho.reporting.engine.classic.core.util.Worker.run(Worker.java:174) ERROR 02-11 16:54:07,725 - Spoon - An unexpected error occurred in Spoon:

    Pentaho BI Platform Tracking | 6 years ago | Curtis Boyden
    java.lang.OutOfMemoryError: PermGen space
  2. 0

    I keep getting OOM Exceptions on PermGen space. I am having a hard time reproducing this consistently. The only correlations seem to be connecting to an EE repository and repeatedly creating analyzer views and report views from a saved model that was generated from a transformation output step table. Here is one of the stack traces I have gotten (it's not the same everytime and sometimes there is no stack trace). Context. ResourceKey{schema=org.pentaho.reporting.libraries.docbundle.bundleloader.ZipResourceBundleLoader, identifier=content.xml, factoryParameters={org.pent Exception in thread "Thread-19" java.lang.OutOfMemoryError: PermGen space at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) at java.lang.ClassLoader.defineClass(ClassLoader.java:616) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at org.pentaho.di.core.plugins.KettleURLClassLoader.loadClass(KettleURLClassLoader.java:68) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at org.pentaho.reporting.engine.classic.core.layout.AbstractRenderer.<init>(AbstractRenderer.java:308) at org.pentaho.reporting.engine.classic.core.modules.output.pageable.base.PageableRenderer.<init>(PageableRenderer.java:55) at org.pentaho.reporting.engine.classic.core.modules.output.pageable.base.PageableReportProcessor.createLayoutManager(PageableReportProcessor.java:48) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:461) at org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.PrintReportProcessor.getNumberOfPages(PrintReportProcessor.java:79) at org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane$RepaginationRunnable.run(PreviewPane.java:274) at org.pentaho.reporting.engine.classic.core.util.Worker.run(Worker.java:174) ERROR 02-11 16:54:07,725 - Spoon - An unexpected error occurred in Spoon:

    Pentaho BI Platform Tracking | 6 years ago | Curtis Boyden
    java.lang.OutOfMemoryError: PermGen space
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    PermGen Space error after adding Gravity

    Google Groups | 6 years ago | Dahn
    java.lang.NoClassDefFoundError: org/granite/config/ ServletGraniteConfig
  5. 0

    [build] CIT workflow report - FAILURE

    Google Groups | 5 years ago | openengsb admin
    java.lang.OutOfMemoryError: PermGen space

  1. linxiaolong 1 times, last 3 months ago
  2. davidvanlaatum 1 times, last 4 months ago
1 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
    URLClassLoader.findClass
    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)
    5. java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
    6. java.net.URLClassLoader.access$000(URLClassLoader.java:58)
    7. java.net.URLClassLoader$1.run(URLClassLoader.java:197)
    8. java.security.AccessController.doPrivileged(Native Method)
    9. java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    9 frames
  3. org.pentaho.di
    KettleURLClassLoader.loadClass
    1. org.pentaho.di.core.plugins.KettleURLClassLoader.loadClass(KettleURLClassLoader.java:68)
    1 frame
  4. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    1 frame
  5. org.pentaho.reporting
    Worker.run
    1. org.pentaho.reporting.engine.classic.core.layout.AbstractRenderer.<init>(AbstractRenderer.java:308)
    2. org.pentaho.reporting.engine.classic.core.modules.output.pageable.base.PageableRenderer.<init>(PageableRenderer.java:55)
    3. org.pentaho.reporting.engine.classic.core.modules.output.pageable.base.PageableReportProcessor.createLayoutManager(PageableReportProcessor.java:48)
    4. org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:461)
    5. org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.PrintReportProcessor.getNumberOfPages(PrintReportProcessor.java:79)
    6. org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane$RepaginationRunnable.run(PreviewPane.java:274)
    7. org.pentaho.reporting.engine.classic.core.util.Worker.run(Worker.java:174)
    7 frames