The moose likes Other Application Frameworks and the fly likes POI-HSSF- Out of Memory Exception Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Application Frameworks » Other Application Frameworks
Reply Bookmark "POI-HSSF- Out of Memory Exception" Watch "POI-HSSF- Out of Memory Exception" New topic
Author

POI-HSSF- Out of Memory Exception

Thejesh G Nagarathna
Greenhorn

Joined: Aug 03, 2005
Posts: 2
I have to write a workbook with 120,000 records. Hence It will have two worksheets. When I keep adding the rows to the worksheet, I will get the out of memory exception. I tried to use java-x but nothing much happened. Can somebody tell how to handle this situation?


<a href="http://www.techmag.biz" target="_blank" rel="nofollow">My Blog: TechMag</a>
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 32769
POI uses a LOT of memory. It may very well be possible that that much data overwhelms it even when given lots of RAM. You could check out alternatives like jExcelAPI and jXLS.


Android appsImageJ pluginsJava web charts
 
 
subject: POI-HSSF- Out of Memory Exception
 
Threads others viewed
JDBC & SQLServer
Http post memory deallocation
can finally block won't execute
Releasing memory to OS
JSP - Out of Memory exception