java.lang.OutOfMemoryError: Java heap space

Pentaho BI Platform Tracking | Tim Kafalas | 4 years 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

    Build BISERVER-EE (252) There are two stack traces below. The first is on Windows trying to start BISERVER, the second is from running spoon on a Mac. Both of these ran out of memory. Rob was able to fix his by raising spoon memory to over a gig. I brought BISERVER memory up to 1536m and still ran out of memory. Windows/BISERVER-EE INFO 29-11 16:14:23,871 - Audit Transformation - Loading transformation from XML file [C:/env/biserver-ee/biserver-ee-2 52/pentaho-solutions//system/audit/dialects/h2/AuditTransformFileInput.ktr] ERROR 29-11 16:14:24,356 - PrepareAuditTransformFileInput - java.lang.OutOfMemoryError: Java heap space at org.pentaho.di.core.row.ValueMeta.readString(ValueMeta.java:2249) at org.pentaho.di.core.row.ValueMeta.<init>(ValueMeta.java:2532) at org.pentaho.di.core.row.RowMeta.<init>(RowMeta.java:535) at org.pentaho.di.core.DBCache.<init>(DBCache.java:173) at org.pentaho.di.core.DBCache.getInstance(DBCache.java:261) at org.pentaho.di.trans.TransMeta.clear(TransMeta.java:749) at org.pentaho.di.trans.TransMeta.loadXML(TransMeta.java:2888) at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2784) at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2748) at org.pentaho.di.job.entries.trans.JobEntryTrans.getTransMeta(JobEntryTrans.java:1158) at org.pentaho.di.job.entries.trans.JobEntryTrans.execute(JobEntryTrans.java:621) at org.pentaho.di.job.Job.execute(Job.java:693) at org.pentaho.di.job.Job.execute(Job.java:826) at org.pentaho.di.job.Job.execute(Job.java:826) at org.pentaho.di.job.Job.execute(Job.java:826) at org.pentaho.di.job.Job.execute(Job.java:826) at org.pentaho.di.job.Job.execute(Job.java:826) at org.pentaho.di.job.Job.execute(Job.java:826) at org.pentaho.di.job.Job.execute(Job.java:826) at org.pentaho.di.job.Job.execute(Job.java:497) at org.pentaho.di.job.Job.run(Job.java:403) ===================================================================================== Mac/Spoon INFO 29-11 15:27:22,422 - Spoon - Logging goes to file:///var/folders/6z/hw0q2dg559lcqmb_vbpzm5k40000gp/T/spoon_2e1a8791-3a63-11e2-a01a-efbba3ac64fb.log java.lang.OutOfMemoryError: Java heap space at org.pentaho.di.core.row.ValueMeta.readString(ValueMeta.java:2249) at org.pentaho.di.core.row.ValueMeta.<init>(ValueMeta.java:2532) at org.pentaho.di.core.row.RowMeta.<init>(RowMeta.java:535) at org.pentaho.di.core.DBCache.<init>(DBCache.java:173) at org.pentaho.di.core.DBCache.getInstance(DBCache.java:261) at org.pentaho.di.ui.spoon.Spoon.loadSettings(Spoon.java:6453) at org.pentaho.di.ui.spoon.Spoon.init(Spoon.java:711) at org.pentaho.di.ui.spoon.Spoon.createContents(Spoon.java:8376) at org.eclipse.jface.window.Window.create(Window.java:426) at org.eclipse.jface.window.Window.open(Window.java:785) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8407) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:594) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) stopping

    Pentaho BI Platform Tracking | 4 years ago | Tim Kafalas
    java.lang.OutOfMemoryError: Java heap space
  2. 0

    Build BISERVER-EE (252) There are two stack traces below. The first is on Windows trying to start BISERVER, the second is from running spoon on a Mac. Both of these ran out of memory. Rob was able to fix his by raising spoon memory to over a gig. I brought BISERVER memory up to 1536m and still ran out of memory. Windows/BISERVER-EE INFO 29-11 16:14:23,871 - Audit Transformation - Loading transformation from XML file [C:/env/biserver-ee/biserver-ee-2 52/pentaho-solutions//system/audit/dialects/h2/AuditTransformFileInput.ktr] ERROR 29-11 16:14:24,356 - PrepareAuditTransformFileInput - java.lang.OutOfMemoryError: Java heap space at org.pentaho.di.core.row.ValueMeta.readString(ValueMeta.java:2249) at org.pentaho.di.core.row.ValueMeta.<init>(ValueMeta.java:2532) at org.pentaho.di.core.row.RowMeta.<init>(RowMeta.java:535) at org.pentaho.di.core.DBCache.<init>(DBCache.java:173) at org.pentaho.di.core.DBCache.getInstance(DBCache.java:261) at org.pentaho.di.trans.TransMeta.clear(TransMeta.java:749) at org.pentaho.di.trans.TransMeta.loadXML(TransMeta.java:2888) at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2784) at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2748) at org.pentaho.di.job.entries.trans.JobEntryTrans.getTransMeta(JobEntryTrans.java:1158) at org.pentaho.di.job.entries.trans.JobEntryTrans.execute(JobEntryTrans.java:621) at org.pentaho.di.job.Job.execute(Job.java:693) at org.pentaho.di.job.Job.execute(Job.java:826) at org.pentaho.di.job.Job.execute(Job.java:826) at org.pentaho.di.job.Job.execute(Job.java:826) at org.pentaho.di.job.Job.execute(Job.java:826) at org.pentaho.di.job.Job.execute(Job.java:826) at org.pentaho.di.job.Job.execute(Job.java:826) at org.pentaho.di.job.Job.execute(Job.java:826) at org.pentaho.di.job.Job.execute(Job.java:497) at org.pentaho.di.job.Job.run(Job.java:403) ===================================================================================== Mac/Spoon INFO 29-11 15:27:22,422 - Spoon - Logging goes to file:///var/folders/6z/hw0q2dg559lcqmb_vbpzm5k40000gp/T/spoon_2e1a8791-3a63-11e2-a01a-efbba3ac64fb.log java.lang.OutOfMemoryError: Java heap space at org.pentaho.di.core.row.ValueMeta.readString(ValueMeta.java:2249) at org.pentaho.di.core.row.ValueMeta.<init>(ValueMeta.java:2532) at org.pentaho.di.core.row.RowMeta.<init>(RowMeta.java:535) at org.pentaho.di.core.DBCache.<init>(DBCache.java:173) at org.pentaho.di.core.DBCache.getInstance(DBCache.java:261) at org.pentaho.di.ui.spoon.Spoon.loadSettings(Spoon.java:6453) at org.pentaho.di.ui.spoon.Spoon.init(Spoon.java:711) at org.pentaho.di.ui.spoon.Spoon.createContents(Spoon.java:8376) at org.eclipse.jface.window.Window.create(Window.java:426) at org.eclipse.jface.window.Window.open(Window.java:785) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8407) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:594) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) stopping

    Pentaho BI Platform Tracking | 4 years ago | Tim Kafalas
    java.lang.OutOfMemoryError: Java heap space

    Root Cause Analysis

    1. java.lang.OutOfMemoryError

      Java heap space

      at org.pentaho.di.core.row.ValueMeta.readString()
    2. org.pentaho.di
      Job.run
      1. org.pentaho.di.core.row.ValueMeta.readString(ValueMeta.java:2249)
      2. org.pentaho.di.core.row.ValueMeta.<init>(ValueMeta.java:2532)
      3. org.pentaho.di.core.row.RowMeta.<init>(RowMeta.java:535)
      4. org.pentaho.di.core.DBCache.<init>(DBCache.java:173)
      5. org.pentaho.di.core.DBCache.getInstance(DBCache.java:261)
      6. org.pentaho.di.trans.TransMeta.clear(TransMeta.java:749)
      7. org.pentaho.di.trans.TransMeta.loadXML(TransMeta.java:2888)
      8. org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2784)
      9. org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2748)
      10. org.pentaho.di.job.entries.trans.JobEntryTrans.getTransMeta(JobEntryTrans.java:1158)
      11. org.pentaho.di.job.entries.trans.JobEntryTrans.execute(JobEntryTrans.java:621)
      12. org.pentaho.di.job.Job.execute(Job.java:693)
      13. org.pentaho.di.job.Job.execute(Job.java:826)
      14. org.pentaho.di.job.Job.execute(Job.java:826)
      15. org.pentaho.di.job.Job.execute(Job.java:826)
      16. org.pentaho.di.job.Job.execute(Job.java:826)
      17. org.pentaho.di.job.Job.execute(Job.java:826)
      18. org.pentaho.di.job.Job.execute(Job.java:826)
      19. org.pentaho.di.job.Job.execute(Job.java:826)
      20. org.pentaho.di.job.Job.execute(Job.java:497)
      21. org.pentaho.di.job.Job.run(Job.java:403)
      21 frames