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 2014/12/01 12:22:02 UTC

[Bug 57292] New: APache POI 3.9 work

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

            Bug ID: 57292
           Summary: APache POI 3.9 work
           Product: POI
           Version: unspecified
          Hardware: PC
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: POI Overall
          Assignee: dev@poi.apache.org
          Reporter: suyogkasawa2007@gmail.com

Hi All,

Below is my code to read xlsm file :

byte[] filedata = attachmentValue.getFileData();
            InputStream inputFileStream = new ByteArrayInputStream(filedata);
            //Create Workbook instance for xlsx/xls file input stream
            Workbook workbook = null;

  workbook = WorkbookFactory.create(inputFileStream);


This code work well upto 5 MB. But after that throwing Out Of Memory Exception.

I am using POI 3.9 jars

Please suggest.

-- 
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


[Bug 57292] APache POI 3.9 work

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

Nick Burch <ap...@gagravarr.org> changed:

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

--- Comment #1 from Nick Burch <ap...@gagravarr.org> ---
This should be covered in this FAQ Entry -
http://poi.apache.org/faq.html#faq-N10109

-- 
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


[Bug 57292] APache POI 3.9 work

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

--- Comment #2 from Suyog <su...@gmail.com> ---
Heap dumps are getting genarted :

A Linked List Data Structure Detected.
 466,985,128 bytes (51.13 %) of Java heap is used by 489,034 instances of
org/apache/xmlbeans/impl/store/Xobj$ElementXobj
 Contains 3 types of the following objects:
 - 489,034 instances of javax/xml/namespace/QName holding 39,122,672 bytes
 - 489,035 instances of org/apache/xmlbeans/impl/store/Xobj$AttrXobj holding
43,037,568 bytes
 - 489,034 instances of org/apache/xmlbeans/impl/store/Locale holding
684,647,600 bytes

-- 
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


[Bug 57292] APache POI 3.9 work

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

Suyog <su...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

-- 
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