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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to