I'm trying to load some documents with LoadFromZipFile like it was sugested previously to a collegue at:
docx-java-f6/outofmemory-error-t232.html
I've simply swithed may call to
- Code: Select all
WordprocessingMLPackage.load
with
- Code: Select all
private WordprocessingMLPackage load(File f) throws Docx4JException {
LoadFromZipFile.setConserveMemory(true);
LoadFromZipFile loader = new LoadFromZipFile();
return (WordprocessingMLPackage) loader.get(f);
}
but I'm getting an IOException (full stack trace below) thrown from inside LoadFromZipFile
Am I doing something wrong here?
Thanks for ...