poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kendall Coolidge" <Kendall.Cooli...@ccbai.com>
Subject RE: Its urgent===Please help
Date Thu, 10 Jul 2008 15:20:14 GMT
How many rows are you trying to write?  Does 5 lakh mean 500,000?
 

-----Original Message-----
From: suriz4u [mailto:suriz4u@gmail.com] 
Sent: Thursday, July 10, 2008 9:33 AM
To: user@poi.apache.org
Subject: Re: Its urgent===Please help


I checked with 1024 memory .But i am getting error if i have 5 lakh rows
of
data.If rows are less iam getting no problem.Other wise iam getting out
of
memory.Can i get the solution please..??



Nick Burch wrote:
> 
> On Thu, 10 Jul 2008, suriz4u wrote:
>>   In my application iam using POI to generate excel sheet.Iam writing
>> work
>> book into ByteArrayOutputStream after processing the rows.But if i
have 5
>> lakh rows to write.Iam getting out of memory error.
> 
> Increase your JVM heap size. The default is much too small anyway, and

> especially when dealing with excel, which isn't a file format that's
well 
> designed for being operated on in a memory efficient manner :(
> 
> Nick
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
> For additional commands, e-mail: user-help@poi.apache.org
> 
> 
> 

-- 
View this message in context:
http://www.nabble.com/Its-urgent%3D%3D%3DPlease--help-tp18381577p1838293
4.html
Sent from the POI - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org


Mime
View raw message