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

           Summary: PowerPointExtractor immediately throws OutOfMemoryError
           Product: POI
           Version: 3.2-dev
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: HSLF
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


Trying to extract the text from a power point presentation throws an
OutOfMemoryError immediately.  Trying to increase the Heap proved useless. 
Trying to create a VM of 2Gigs fails because the VM can't allocate enough
space, and anything smaller still provides an OutOfMemoryError.

Here is the following code being executed:

public class Test {
    public static void main(String[] args) throws Exception{
        try {
            PowerPointExtractor _extractor = new PowerPointExtractor(new
FileInputStream("Presentation - Spani#113D94.ppt"));
            String _text = _extractor.getText();
            System.out.print(_text);
        } catch( Throwable e ) {
            e.printStacktrace();
            System.out.println( Runtime.getRuntime().freeMemory() + " free out
of " + Runtime.getRuntime().totalMemory() );
        }
    }
}


-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to