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/10/12 21:59:00 UTC

[Bug 57031] Out of Memory when extracting text from attached files

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

Dominik Stadler <do...@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEW

--- Comment #5 from Dominik Stadler <do...@gmx.at> ---
Can reproduce this, the following steps suffice to cause OOM, seems reading the
900k file fails in the Piccolo-XMLParser that is used inside XMLBeans:

        String filePath = "test-data/document/57031.docx";

        ZipFile zf = new ZipFile(filePath);
        ZipEntry entry = zf.getEntry("word/document.xml");

        DocumentDocument document =
DocumentDocument.Factory.parse(zf.getInputStream(entry));
        assertNotNull(document);

        zf.close();

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