Results 1 to 2 of 2
- 11-05-2012, 11:22 PM #1
Member
- Join Date
- Nov 2012
- Posts
- 1
- Rep Power
- 0
- 11-06-2012, 09:32 AM #2
Moderator
- Join Date
- Apr 2009
- Posts
- 10,484
- Rep Power
- 16
Re: Out of memory writing a 50k+ file
This is where I question the wisdom of a 50000 row spreadsheet...
:)
POI (and pretty much every Java-Excel framework) needs to hold the workbook in memory, and this is the cause of the problem. There's not a great deal you can do about it. If it's only crashing on the write have you considered giving it a bit more memory? SOunds like you are right on the edge of what it needs to do its job.
Of course that's not terribly scalable, but then neither is Excel.Please do not ask for code as refusal often offends.
Similar Threads
-
Problem with File I/O, writing information to a binary file.
By Trithan in forum New To JavaReplies: 1Last Post: 08-02-2012, 03:01 AM -
Trying to read a file, then writing the info into another file
By bigsonny in forum New To JavaReplies: 14Last Post: 07-15-2011, 05:22 AM -
Im writing to a file and i want to skip lines while writing to a text file.
By Broden_McDonald in forum New To JavaReplies: 1Last Post: 02-27-2010, 01:29 AM -
[SOLVED] how to reading binary file and writing txt file
By tOpach in forum New To JavaReplies: 3Last Post: 05-09-2009, 11:31 PM -
Serialization - writing/reading to memory
By ajeeb in forum Advanced JavaReplies: 3Last Post: 01-27-2009, 03:07 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks