Problem instantiating large presentatio

Hi, I cannot load presentation in attachment, it is about 10MB.

This is simple code snippet:

String path = “aspose/slides/test.ppt”;

InputStream inputStream = getClass().getClassLoader().getResourceAsStream(path);

try {
Presentation presentation = new Presentation(inputStream);
} catch (PptException e) {
e.printStackTrace();
}

Can you tell me somethig about this problem.

Thanks, Ivica.