[resolved] Exception in thread "main" java.lang.OutOfMemoryError:
Hello everyone
Working on talend I had the following error
" Exception in thread "main" java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Unknown Source) at java.lang.AbstractStringBuilder.ensureCapacityInternal(Unknown Source) at java.lang.AbstractStringBuilder.append(Unknown Source) disconnected disconnected at java.lang.StringBuffer.append(Unknown Source) at d.uno_uno_0_1.uno_uno.tFileInputDelimited_2Process(uno_uno.java:15572) at d.uno_uno_0_1.uno_uno.tFileInputDelimited_1Process(uno_uno.java:8421) at d.uno_uno_0_1.uno_uno.runJobInTOS(uno_uno.java:16845) at d.uno_uno_0_1.uno_uno.main(uno_uno.java:16702)" I have increased memory -Xms and -Xmx but I still get the same error without knowing what I can do.
The process I want to perform involves a csv file (1GB in size) pass it through tmap and tuniqrow to then enter it into the database.
Once you finish inserting this first file csv happens to perform the same process but for another csv file (of equal size)
Hi,
The article that recommended me worked, I had to optimize the work and put more memory to all the work.
Thanks, I have already been able to upload a file of more than 1 gb