You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2010/05/14 16:39:15 UTC

DO NOT REPLY [Bug 49291] New: java.lang.OutOfMemoryError: Java heap space when opening 10MB Excel file

https://issues.apache.org/bugzilla/show_bug.cgi?id=49291

           Summary: java.lang.OutOfMemoryError: Java heap space when
                    opening 10MB Excel file
           Product: POI
           Version: 3.6
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HSSF
        AssignedTo: dev@poi.apache.org
        ReportedBy: victor.contact@gmail.com


Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
    at java.lang.AbstractStringBuilder.<init>(Unknown Source)
    at java.lang.StringBuilder.<init>(Unknown Source)
.......................

This happened when I tried to open and read a 11MB Excel file with 5200 rows
and 6 columns

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

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


DO NOT REPLY [Bug 49291] java.lang.OutOfMemoryError: Java heap space when opening 10MB Excel file

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49291

--- Comment #1 from Victor Arabadzhiyski <vi...@gmail.com> 2010-05-14 10:40:34 EDT ---
Sample Excel file can be obtained from
http://www.mh.government.bg/Articles.aspx?lang=bg-BG&pageid=390

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

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


DO NOT REPLY [Bug 49291] java.lang.OutOfMemoryError: Java heap space when opening 10MB Excel file

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49291

Nick Burch <ni...@alfresco.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #2 from Nick Burch <ni...@alfresco.com> 2010-05-14 10:51:20 EDT ---
Many JVMs have a default heap size that is much too small for modern uses

Simply increase the size of your heap when you start your jvm

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

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