java.lang.OutOfMemoryError: Requested array size exceeds VM limit

Pan用于在终端执行Transformation,没有图形界面。
回复
admin
管理员
帖子: 50
注册时间: 2019年 3月 25日 星期一 5:03 pm

java.lang.OutOfMemoryError: Requested array size exceeds VM limit

#1

帖子 admin » 2020年 1月 3日 星期五 2:55 pm

运行报错:java.lang.OutOfMemoryError: Requested array size exceeds VM limit

说明:

不一定是java内存不够,如果输出的设置中没有选择需要输出的字段也会报这个错误。

2020/01/03 14:17:20 - - Finished reading query, closing connection.
2020/01/03 14:17:20 - - ERROR (version 8.3.0.0-371, build 8.3.0.0-371 from 2019-06-11 11.09.08 by buildguy) : UnexpectedError:
2020/01/03 14:17:20 - - ERROR (version 8.3.0.0-371, build 8.3.0.0-371 from 2019-06-11 11.09.08 by buildguy) : java.lang.OutOfMemoryError: Requested array size exceeds VM limit
2020/01/03 14:17:20 -  at org.pentaho.di.trans.steps.textfileoutput.TextFileOutput.convertStringToBinaryString(TextFileOutput.java:577)
2020/01/03 14:17:20 -  at org.pentaho.di.trans.steps.textfileoutput.TextFileOutput.formatField(TextFileOutput.java:521)
2020/01/03 14:17:20 -  at org.pentaho.di.trans.steps.textfileoutput.TextFileOutput.writeField(TextFileOutput.java:626)
2020/01/03 14:17:20 -  at org.pentaho.di.trans.steps.textfileoutput.TextFileOutput.writeRow(TextFileOutput.java:488)
2020/01/03 14:17:20 -  at org.pentaho.di.trans.steps.textfileoutput.TextFileOutput.writeRowToFile(TextFileOutput.java:388)
2020/01/03 14:17:20 -  at org.pentaho.di.trans.steps.textfileoutput.TextFileOutput.writeRowTo(TextFileOutput.java:468)
2020/01/03 14:17:20 -  at org.pentaho.di.trans.steps.textfileoutput.TextFileOutput.processRow(TextFileOutput.java:461)
2020/01/03 14:17:20 -  at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62)
2020/01/03 14:17:20 -  at java.lang.Thread.run(Thread.java:748)
2020/01/03 14:17:20 - Finished processing (I=0, O=0, R=1, W=0, U=0, E=1)
2020/01/03 14:17:20 -  - Transformation detected one or more steps with errors.
2020/01/03 14:17:20 -  - Transformation is killing the other steps!
2020/01/03 14:17:20 - prpcmain.0 - Finished processing (I=2, O=0, R=0, W=2, U=0, E=0)
2020/01/03 14:17:20 - Pan - Finished!




回复