Running out of heap space
Posted: Fri Aug 05, 2011 2:29 pm
I have a 500k line XSL-FO file that I'm trying to convert to a PDF using FOP, however Oxygen is telling me that FOP is running out of memory.
First off, I'd like to ensure that Oxygen is using the 64-bit JRE rather than 32-bit. Where is this configured?
Additionally, I'd like to know if it's possible to increase the heap space for Oxygen/FOP? Can I supply runtime arguments or similar?
I'm running on Windows 7 64-bit on an i7 processor with 8GB of RAM.SystemID: C:\Users\Craig\Desktop\display.xml
Engine name: Apache FOP
Severity: error
Description: The process 'Apache FOP' ended with code: 1.
The error was:
Transformer is net.sf.saxon.IdentityTransformer@513d61
ERROR - Image not found: nhs.jpg
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
First off, I'd like to ensure that Oxygen is using the 64-bit JRE rather than 32-bit. Where is this configured?
Additionally, I'd like to know if it's possible to increase the heap space for Oxygen/FOP? Can I supply runtime arguments or similar?