I have a job that looks like:
tFileInputDelimited > tMap > tBufferOutput > tTeradataOutput I am committing every 2,000 rows with a Use Batch Size of 500.
My file has 3.1 million rows and I get to about 3.06 million rows loaded before I get the error. What can I do differently to avoid this Java heap space error? Exception in thread "Thread-0" java.lang.OutOfMemoryError: Java heap space
at java.util.LinkedList.listIterator(Unknown Source)
at java.util.AbstractList.listIterator(Unknown Source)
at java.util.AbstractSequentialList.iterator(Unknown Source)
at routines.system.RunStat.sendMessages(RunStat.java:248)
at routines.system.RunStat.run(RunStat.java:212)
at java.lang.Thread.run(Unknown Source)
Exception in thread "main" java.lang.Error: java.lang.OutOfMemoryError: Java heap space
Hi
1. Do you really need a tBufferOutput component to buffer the records? which will consume so much memory.
2. Go to the windows-->preference-->talend-->run.debug and allocate more memory by modifying the JVM parameters.
Best regards
Shong
Hi
1. Do you really need a tBufferOutput component to buffer the records? which will consume so much memory.
2. Go to the windows-->preference-->talend-->run.debug and allocate more memory by modifying the JVM parameters.
Best regards
Shong