Bug 53436

Summary: Java heap space error while reading 4 mb xls file
Product: POI Reporter: amit <amit.malpure>
Component: XSSFAssignee: POI Developers List <dev>
Status: RESOLVED INVALID    
Severity: critical    
Priority: P2    
Version: 3.8-FINAL   
Target Milestone: ---   
Hardware: PC   
OS: All   

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