OutOfMemoryError
Posted: Fri Sep 25, 2009 2:51 pm
Hi,
I'm currently trying to load a 190MB docx file using docx4j. Even giving the vm 1.5GB memory loading fails with an OutOfMemoryError.
Does doc4j loads all parts on load of the package or does it load the parts on demand?
If all parts are loaded into memory with the package, could that be changed do load on demand using a memory sensitive cache for loaded parts?
Regards
Holger
I'm currently trying to load a 190MB docx file using docx4j. Even giving the vm 1.5GB memory loading fails with an OutOfMemoryError.
Does doc4j loads all parts on load of the package or does it load the parts on demand?
If all parts are loaded into memory with the package, could that be changed do load on demand using a memory sensitive cache for loaded parts?
Regards
Holger