Java
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   Web Development Archives Mailing Lists Java

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Web Development Archives Sponsor:
  #1  
Old July 3rd, 2008, 07:39 AM
Vishal
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
OutofMemory exception on writing huge XLS using POI

Hi,

I am using PI HSSF to generate XLS files from serialized data. This works
well for small sets of data but for huge data sets (10 MB XLS size or >
100k rows), I get an Memory error.

analyzing heap memory, it was found that all the HSSFRow and HSSFCell
objects are retained in the memory. So, for a huge result set, the memory
usage is also huge.

Is it possible to configure PI to flush data into the XLS file and clean up
the memory every once-in-a-while?

Please let know if there is any solution.

Thanks in advance.
Vishal

Reply With Quote
Reply

Viewing: Web Development Archives Mailing Lists Java > OutofMemory exception on writing huge XLS using POI


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT