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 2009/08/25 10:35:42 UTC

DO NOT REPLY [Bug 47732] New: Word Extractor throws OUT OF MEMORY Java Heap Space exception

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

           Summary: Word Extractor throws OUT OF MEMORY Java Heap Space
                    exception
           Product: POI
           Version: 3.2-FINAL
          Platform: PC
        OS/Version: Windows Server 2003
            Status: NEW
          Severity: major
          Priority: P2
         Component: POIFS
        AssignedTo: dev@poi.apache.org
        ReportedBy: gi.bijlani@sap.com


--- Comment #0 from Gitu <gi...@sap.com> 2009-08-25 01:35:40 PDT ---
Hi,

I have a word document which is nearly 30 MB in size and I need to extract the
content of that. But POIFSFileSystem throws an out of memory error and is not
able to open the document.

I searched on google to find some solution and found this:

They recommend to increase the amount of memory that
Java can use with these runtime options;

java -Xms<initial heap size> -Xmx<maximum heap size>

But we do not have an option to increase the same. 

I wanted to know if there is any other way in which we can get the content in
chunks or so OR some other solution without modifiying the amount of java
memory.         

Many thanks in advance,
Gitu

-- 
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 47732] Word Extractor throws OUT OF MEMORY Java Heap Space exception

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


Gitu <gi...@sap.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gi.bijlani@sap.com


-- 
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 47732] Word Extractor throws OUT OF MEMORY Java Heap Space exception

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

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

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

--- Comment #1 from Nick Burch <ni...@alfresco.com> 2011-02-25 17:04:46 EST ---
You need to increase your Java heap size. The word format doesn't support
incremental reading.

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