Pentaho text file input step crashing (out of memory)

半城伤御伤魂 提交于 2020-02-07 17:15:48

问题


I am using Pentaho for reading a very large file. 11GB.

The process is sometime crashing with out of memory exception, and sometimes it will just say process killed.

I am running the job on a machine with 12GB, and giving the process 8 GB.

Is there a way to run the Text File Input step with some configuration to use less memory? maybe use the disk more?

Thanks!


回答1:


Open up spoon.sh/bat or pan/kettle .sh or .bat and change the -Xmx figure. Search for JAVAMAXMEM Even though you have spare memory unless java is allowed to use it it wont work. although to be fair in your example above i can't really see why/how it would be consuming much memory anyway!



来源:https://stackoverflow.com/questions/27091308/pentaho-text-file-input-step-crashing-out-of-memory

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!