I am using POI to create a spreadsheet. This is a large spreadsheet, about
375,000 rows and 15 columns.

The job crashes with this message in the joblog.


JVMDUMP055I Processing dump event "systhrow", detail
"java/lang/OutOfMemoryError", exception "Java heap space" at 2025/09/25
11:51:58 - please wait.


Is it possible to increase the heap space when running POI? I'd like to
increase it just for this job, if possible. The program uses
ss_begin_object_group with a parameter value of 3,000,000 when it
starts to create the spreadsheet.

No matter how much this parameter value increases, I still get the crash
at the approximate same row.

We're running POI 3.12

Any ideas?

Thank you,

Doug



"CONFIDENTIALITY NOTICE: This e-mail transmission (and/or the attachments accompanying it) contain confidential information belonging to the sender. The information is intended only for the use of the intended recipient. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or the taking of any action in reliance on the contents of the information is strictly prohibited. Any unauthorized interception of this transmission is illegal under the law. If you have received this transmission in error, please promptly notify the sender by reply e-mail, and then destroy all copies of the transmission."

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.