Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[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)

attached image
Saludos ! 
Labels (4)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hi,
Here is a KB article TalendHelpCenter:Exception outOfMemory. Could you  please try the resolutions to see if it fixes the problem?
Regards
Sabrina

View solution in original post

3 Replies
Anonymous
Not applicable
Author

Hi,
Here is a KB article TalendHelpCenter:Exception outOfMemory. Could you  please try the resolutions to see if it fixes the problem?
Regards
Sabrina
Anonymous
Not applicable
Author

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
Anonymous
Not applicable
Author

Hi,
Great it works. Thanks for your feedback and marking this topic as resolved.
Best regards
Sabrina