Bug 53436 - Java heap space error while reading 4 mb xls file
Summary: Java heap space error while reading 4 mb xls file
Status: RESOLVED INVALID
Alias: None
Product: POI
Classification: Unclassified
Component: XSSF (show other bugs)
Version: 3.8-FINAL
Hardware: PC All
: P2 critical (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-19 12:42 UTC by amit
Modified: 2012-06-19 15:38 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description amit 2012-06-19 12:42:48 UTC
Hi 
I have recently started using 3.8 poi jars.

I am facing a Java heap space error while reading 4 mb xls file which was working properly with poi 3.5.

Error is for the statement:

workBook = new HSSFWorkbook(fileInputStream);

Please help.
Amit
Comment 1 Yegor Kozlov 2012-06-19 15:38:20 UTC
Firstly, Bugzilla is not the place for user questions, they belong on the user
mailing list.

Try to increase the heap size. If it does not help, please supply more information that can help us to resilve your problem. 

What JDK are you using? How big is the heap size? Post the full stack trace and attach the problematic file. 

Yegor