DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38632>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38632

           Summary: java.lang.OutOfMemoryError
           Product: POI
           Version: unspecified
          Platform: PC
        OS/Version: AIX
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HSSF
        AssignedTo: poi-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


Hi,

you have a great library, but i have a problem when try to generate XLS file 
with a lot of records.

Could you please help me to investigate the problem of 
java.lang.OutOfMemoryError: I use your library to generate XLS file with about  
60 * 1000 records.

When I use method write(OutputStream stream) of the class 
org.apache.poi.hssf.usermodel.HSSFWorkbook, I receive OutOfMemory Error.
But it's work when I generate XLS files with about 500 records.

As I view, the such problem was discussed here and your team suggested to 
increase JVM memory size. But my settings for JVM is: Xms512m -Xmx1024m and I 
if you suggest me to increase it, I can't do it.

I use AIX, Java 1.4.

Thank you!
Hope to hear from you soon.

Please view stack trace of the exception:

[2/10/06 14:50:22:640 MST] 28292a11 WebGroup      E SRVE0026E: [Servlet Error]-
[JVMXE006:OutOfMemoryError, stAllocArray for executeJava failed]: 
java.lang.OutOfMemoryError: JVMXE006:OutOfMemoryError, stAllocArray for 
executeJava failed
        at org.apache.poi.hssf.usermodel.HSSFWorkbook.getBytes
(HSSFWorkbook.java:786)
        at org.apache.poi.hssf.usermodel.HSSFWorkbook.write
(HSSFWorkbook.java:734)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:    http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/

Reply via email to