Page 1 of 1

Schema Documentation out of memory error

Posted: Tue Oct 15, 2013 12:17 pm
by Luke_moonwalker
Hi there,

We found the Schema Documentation give out of memory error as below.
The following errors were encountered when generating schema documentation:
- E The FOP process ended with code: 1.
The error was:
ERROR - Couldn't find hyphenation pattern for lang="en".
Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded
Specify more memory for the FOP as explained in the section 'Performance Problems',
subsection 'External Processes' in the User Manual.
We also tried -Xmx5000m option but without any luck :?
Our target schema is http://schemas.wmo.int/iwxxm/1.0/iwxxm.xsd

Best,
Luke

Re: Schema Documentation out of memory error

Posted: Tue Oct 15, 2013 12:24 pm
by Luke_moonwalker
The error message is come from the pdf output, thanks.

Luke

Re: Schema Documentation out of memory error

Posted: Tue Oct 15, 2013 12:24 pm
by adrian
Hi,

Make sure you adjust the memory for the FO processor in Options > Preferences, XML > XSLT-FO-XQuery > FO Processors, "Memory available to the built-in FOP". 768 or 1024 should be enough.

Regards,
Adrian

Re: Schema Documentation out of memory error

Posted: Tue Oct 15, 2013 12:49 pm
by Luke_moonwalker
It works! Thank you Adrian! :D

Luke