java.lang.OutOfMemoryError: Java heap space

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • I created a simple ktr (see attached) [Row Gen -> Rand Num Gen -> Dummy]. I then run it once on carte through spoon. Then I log into the web interface of carte and launch the default "Row generator test" that is already there. Again through the web interface I start the simple ktr and the carte server crashes: INFO 09-04 16:32:42,343 - Dummy (do nothing).0 - Finished processing (I=0, O=0, R=10, W=10, U=10, E=0) INFO 09-04 16:32:44,328 - dummy.0 - Linenr 600000 INFO 09-04 16:32:47,781 - dummy.0 - Linenr 650000 ERROR 09-04 16:32:49,062 - A.0 - UnexpectedError: java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Unknown Source) at java.lang.AbstractStringBuilder.expandCapacity(Unknown Source) at java.lang.AbstractStringBuilder.append(Unknown Source) at java.lang.StringBuffer.append(Unknown Source) at org.pentaho.di.core.logging.Log4jStringAppender.doAppend(Log4jStringAppender.java:74) at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:57) at org.apache.log4j.Category.callAppenders(Category.java:187) at org.apache.log4j.Category.forcedLog(Category.java:372) at org.apache.log4j.Category.error(Category.java:286) at org.pentaho.di.core.logging.LogWriter.println(LogWriter.java:447) at org.pentaho.di.core.logging.LogWriter.logError(LogWriter.java:459) at org.pentaho.di.trans.step.BaseStep.runStepThread(BaseStep.java:2688) at org.pentaho.di.trans.steps.rowgenerator.RowGenerator.run(RowGenerator.java:215) INFO 09-04 16:32:49,265 - A.0 - Finished processing (I=0, O=0, R=0, W=671673, U=671673, E=1) ERROR 09-04 16:32:49,656 - A.0 - UnexpectedError: java.lang.OutOfMemoryError: Java heap space INFO 09-04 16:32:50,109 - Row generator test - Transformation detected one or more steps with errors. Exception in thread "A.0 (Thread-32)" ERROR 09-04 16:32:50,109 - dummy.0 - UnexpectedError: java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: Java heap space INFO 09-04 16:32:50,765 - dummy.0 - Finished processing (I=0, O=0, R=671673, W=671673, U=671673, E=1) ERROR 09-04 16:32:51,046 - dummy.0 - UnexpectedError: java.lang.OutOfMemoryError: Java heap space INFO 09-04 16:32:51,234 - Row generator test - Transformation detected one or more steps with errors. Exception in thread "dummy.0 (Thread-33)" java.lang.OutOfMemoryError: Java heap space
    via by Curtis Boyden,
  • I created a simple ktr (see attached) [Row Gen -> Rand Num Gen -> Dummy]. I then run it once on carte through spoon. Then I log into the web interface of carte and launch the default "Row generator test" that is already there. Again through the web interface I start the simple ktr and the carte server crashes: INFO 09-04 16:32:42,343 - Dummy (do nothing).0 - Finished processing (I=0, O=0, R=10, W=10, U=10, E=0) INFO 09-04 16:32:44,328 - dummy.0 - Linenr 600000 INFO 09-04 16:32:47,781 - dummy.0 - Linenr 650000 ERROR 09-04 16:32:49,062 - A.0 - UnexpectedError: java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Unknown Source) at java.lang.AbstractStringBuilder.expandCapacity(Unknown Source) at java.lang.AbstractStringBuilder.append(Unknown Source) at java.lang.StringBuffer.append(Unknown Source) at org.pentaho.di.core.logging.Log4jStringAppender.doAppend(Log4jStringAppender.java:74) at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:57) at org.apache.log4j.Category.callAppenders(Category.java:187) at org.apache.log4j.Category.forcedLog(Category.java:372) at org.apache.log4j.Category.error(Category.java:286) at org.pentaho.di.core.logging.LogWriter.println(LogWriter.java:447) at org.pentaho.di.core.logging.LogWriter.logError(LogWriter.java:459) at org.pentaho.di.trans.step.BaseStep.runStepThread(BaseStep.java:2688) at org.pentaho.di.trans.steps.rowgenerator.RowGenerator.run(RowGenerator.java:215) INFO 09-04 16:32:49,265 - A.0 - Finished processing (I=0, O=0, R=0, W=671673, U=671673, E=1) ERROR 09-04 16:32:49,656 - A.0 - UnexpectedError: java.lang.OutOfMemoryError: Java heap space INFO 09-04 16:32:50,109 - Row generator test - Transformation detected one or more steps with errors. Exception in thread "A.0 (Thread-32)" ERROR 09-04 16:32:50,109 - dummy.0 - UnexpectedError: java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: Java heap space INFO 09-04 16:32:50,765 - dummy.0 - Finished processing (I=0, O=0, R=671673, W=671673, U=671673, E=1) ERROR 09-04 16:32:51,046 - dummy.0 - UnexpectedError: java.lang.OutOfMemoryError: Java heap space INFO 09-04 16:32:51,234 - Row generator test - Transformation detected one or more steps with errors. Exception in thread "dummy.0 (Thread-33)" java.lang.OutOfMemoryError: Java heap space
    via by Curtis Boyden,
  • wsdl2 java :Java heap space
    via Stack Overflow by PiNY
    ,
  • Fw: ScalaTest build fails on my Windows m/c...
    via by Imtiaz Ahmed H E,
  • Handling OutOfMemory Error
    via by ruds,
  • Issue 2393 in selenium: RemoteWebDriver - out of memory error
    via by sele...@googlecode.com,
    • java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Unknown Source) at java.lang.AbstractStringBuilder.expandCapacity(Unknown Source) at java.lang.AbstractStringBuilder.append(Unknown Source) at java.lang.StringBuffer.append(Unknown Source) at org.pentaho.di.core.logging.Log4jStringAppender.doAppend(Log4jStringAppender.java:74) at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:57) at org.apache.log4j.Category.callAppenders(Category.java:187) at org.apache.log4j.Category.forcedLog(Category.java:372) at org.apache.log4j.Category.error(Category.java:286) at org.pentaho.di.core.logging.LogWriter.println(LogWriter.java:447) at org.pentaho.di.core.logging.LogWriter.logError(LogWriter.java:459) at org.pentaho.di.trans.step.BaseStep.runStepThread(BaseStep.java:2688) at org.pentaho.di.trans.steps.rowgenerator.RowGenerator.run(RowGenerator.java:215)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    David
    David1 times, last one,
    Handemelindo
    Handemelindo1 times, last one,
    50 more bugmates