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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
ffanali0804
Contributor
Contributor

tBigQueryOutput Exception in thread "Thread-1" java.lang.OutOfMemoryError: Required array size too large

Hi all,

I develop an ETL pipeline with TOS 8. Pipeline read from SQL Server and write to Google BigQuery with tBigQueryOutput but I received this error:

Exception in thread "Thread-1" java.lang.OutOfMemoryError: Required array size too large

at java.base/java.nio.file.Files.readAllBytes(Files.java:3212)

at lov_poc.job_skuitemtag_1_1.Job_SkuItemTag.tDBInput_1Process(Job_SkuItemTag.java:11010)

at lov_poc.job_skuitemtag_1_1.Job_SkuItemTag.tDBConnection_1Process(Job_SkuItemTag.java:1005)

at lov_poc.job_skuitemtag_1_1.Job_SkuItemTag$2.run(Job_SkuItemTag.java:21841)

Here the flow details:

0695b00000PKAdIAAX.png

The CSV is correctly written on the local file system (5GB) but is not copied to Google Cloud Storage.

The same process is correctly execute by TOS 7.3.

My JVM:

0695b00000PKAe6AAH.png

has anyone had the same problem?

Thank you,

Federico

Labels (5)
17 Replies
gjeremy1617088143

in the project properties, under Build --> java version wich one is selected ?

ffanali0804
Contributor
Contributor
Author

TOS 7.3:

0695b00000PKOC6AAP.pngTOS 8:

0695b00000PKOCuAAP.pngI cannot change it in either version. In the drop-down menu there is only 1.8.

gjeremy1617088143

and in the .ini file of you talend do you have specified a specific Java version ?

cause as i see it's seem you don't use jdk 11 in tos8

ffanali0804
Contributor
Contributor
Author

are you talking about these files? 

0695b00000PKOEqAAP.png0695b00000PKOF0AAP.png 

gjeremy1617088143

at the top of your ini file you can put this :

-vm

C:\Program Files\Java\jdk11\bin\ (here your path to the jdk11 bin)

 

ffanali0804
Contributor
Contributor
Author

I have tried and this attempt does not work either.

I have tried also this path: C:\Program Files\Zulu\zulu-11\bin

0695b00000PKOpIAAX.png

Anonymous
Not applicable

Hello,

Could you please open an issue on Talend Bugtracker and our developers from R&D will check your problem to see if it is an issue from libraries.

Best regards

Sabrina

ffanali0804
Contributor
Contributor
Author

done: https://jira.talendforge.org/browse/TFD-14038

 

Thanks again

 

Federico