One Star

Java Heap space error when trying to create metadata for a excel file

I am trying to create metadata for an excel file but my program gets "Unhandled event loop exception, Java heap space" when I select the file in step 2 of file creation - At the bottom I have posted the error from the log.
The file is only 7mb in size(tried other files too) and I have used files before with 200mb+ with no problems so I can't see why it is crashing. The current jobs in the project run fine with no problems.
Running on XP - TOS version Version: 4.0.1 - 2GB ram
I have read through some forum post about memory problems and they suggested adjusting the heap size in the config file but i have attempted with no luck. below is my current setup for the heap size

As mention the error from the logs
java.lang.OutOfMemoryError: Java heap space
at org.apache.xmlbeans.impl.piccolo.xml.Piccolo.reportStartTag(
at org.apache.xmlbeans.impl.piccolo.xml.PiccoloLexer.parseAttributesNS(
at org.apache.xmlbeans.impl.piccolo.xml.PiccoloLexer.parseOpenTagNS(
at org.apache.xmlbeans.impl.piccolo.xml.PiccoloLexer.parseTagNS(
at org.apache.xmlbeans.impl.piccolo.xml.PiccoloLexer.parseXMLNS(
at org.apache.xmlbeans.impl.piccolo.xml.PiccoloLexer.parseXML(
at org.apache.xmlbeans.impl.piccolo.xml.PiccoloLexer.yylex(
at org.apache.xmlbeans.impl.piccolo.xml.Piccolo.yylex(
at org.apache.xmlbeans.impl.piccolo.xml.Piccolo.yyparse(
at org.apache.xmlbeans.impl.piccolo.xml.Piccolo.parse(
at org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(
at org.openxmlformats.schemas.spreadsheetml.x2006.main.WorksheetDocument$Factory.parse(Unknown Source)
at org.apache.poi.xssf.usermodel.XSSFSheet.onDocumentRead(
at org.apache.poi.xssf.usermodel.XSSFWorkbook.onDocumentRead(
at org.apache.poi.xssf.usermodel.XSSFWorkbook.<init>(
at org.talend.repository.ui.wizards.metadata.connection.files.excel.ExcelReader.init(Unknown Source)
at org.talend.repository.ui.wizards.metadata.connection.files.excel.ExcelReader.<init>(Unknown Source)
at org.talend.repository.ui.wizards.metadata.connection.files.excel.ExcelFileStep1Form.viewExcelFile(Unknown Source)
at org.talend.repository.ui.wizards.metadata.connection.files.excel.ExcelFileStep1Form.access$4(Unknown Source)
at org.talend.repository.ui.wizards.metadata.connection.files.excel.ExcelFileStep1Form$7.modifyText(Unknown Source)
at org.eclipse.swt.widgets.TypedListener.handleEvent(
at org.eclipse.swt.widgets.EventTable.sendEvent(
at org.eclipse.swt.widgets.Widget.sendEvent(
at org.eclipse.swt.widgets.Widget.sendEvent(
at org.eclipse.swt.widgets.Widget.sendEvent(

Any help with this would be much appreciated.
Community Manager

Re: Java Heap space error when trying to create metadata for a excel file

Which OS? We just release the latest stable version 4.2 yesterday, please download it and try it again.
Best regards
Talend | Data Agility for Modern Business
One Star

Re: Java Heap space error when trying to create metadata for a excel file

Hi Shong,
I'm running Windows XP SP3 and i have tried to get the latest version 4.2 and still recieving the same error. I have tried other excel files but still getting the same error. CSV files seem to be working fine tho.