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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Java heap space occurred with using tFileOutputExcel.

Hi,
I am using V5.6.1 on Windows x86, and now clash job with Java heap space problem.
It occur?ed to use tFileOutputExcel with create new tab.
Real memory is free.
connecting to socket on port 3677
connected
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Unknown Source)
at java.io.ByteArrayOutputStream.grow(Unknown Source)
at java.io.ByteArrayOutputStream.ensureCapacity(Unknown Source)
at java.io.ByteArrayOutputStream.write(Unknown Source)
at org.apache.poi.openxml4j.opc.internal.MemoryPackagePartOutputStream.write(MemoryPackagePartOutputStream.java:88)
at org.apache.xmlbeans.impl.store.Cursor._save(Cursor.java:590)
at org.apache.xmlbeans.impl.store.Cursor.save(Cursor.java:2544)
at org.apache.xmlbeans.impl.values.XmlObjectBase.save(XmlObjectBase.java:223)
at org.apache.poi.xssf.usermodel.XSSFSheet.write(XSSFSheet.java:2818)
at org.apache.poi.xssf.usermodel.XSSFSheet.commit(XSSFSheet.java:2773)
at org.apache.poi.POIXMLDocumentPart.onSave(POIXMLDocumentPart.java:322)
at org.apache.poi.POIXMLDocumentPart.onSave(POIXMLDocumentPart.java:326)
at org.apache.poi.POIXMLDocument.write(POIXMLDocument.java:173)
at org.talend.ExcelTool.writeExcel(ExcelTool.java:298)
disconnected
at cpc.job5b_marge_excelfile_0_1.Job5b_marge_excelfile.tFileInputDelimited_3Process(Job5b_marge_excelfile.java:4087)
at cpc.job5b_marge_excelfile_0_1.Job5b_marge_excelfile.runJobInTOS(Job5b_marge_excelfile.java:10400)
at cpc.job5b_marge_excelfile_0_1.Job5b_marge_excelfile.main(Job5b_marge_excelfile.java:10233)
I think heap size is specified in TOS_BD-win-x86_64.
-vmargs
-Xms512m
-Xmx1536m
-XX:MaxPermSize=512m
-Dfile.encoding=UTF-8

If I try to modify this file directly , heap size is extended?
or other action exist?
Thanks.
Miki
Labels (4)
3 Replies
Anonymous
Not applicable
Author

Hi,
Please take a look at KB articles: TalendHelpCenter:Exception%3A Could not reserve enough space for object heap.
Best regards
Sabrina
Anonymous
Not applicable
Author

Hi,
Thank you for your comment.
I checked advanced setting and solved this problem.
Thanks.
Miki
Anonymous
Not applicable
Author

Hi Miki,
Could you please mark this topic as resolved? You can click the "Set this topic as resolved" link which is right underneath your initial post? This way, other users will be informed that this thread has been resolved.

Best regards
Sabrina