Support #2585
closedjava.lang.OutOfMemoryError: PermGen space with saxon
0%
Description
Hi,
Arjun here from Actiance. We recently bought SaxonEE9-7-0-1J.
We are using saxon to convert xslt 3.0 with streaming to different formats such as html, xml, csv, txt etc. But facing some issues during the transformation. There is a 'java.lang.OutOfMemoryError: PermGen space' and it stops. When googled, we found another similar thread in the saxon forum. Please find the link below.
https://saxonica.plan.io/issues/1833
We are using a 64 bit 1.7 JVM and have configured Xmx as 4096m. And when we have around 3.5 GB left in the heap, it throws an OutOfMemoryError: PermGen and stops. The permGen configured is 128m. We tried changing it to 256m and 512m respectively. But as a result, it runs for some more time and stops with OOM Error after some time. We also tried using -XX:+UseConcMarkSweepGC, -XX:+CMSPermGenSweepingEnabled and -XX:+CMSClassUnloadingEnabled JVM Args. But no luck.
We are using the saxon transformer in a multi threaded environment with a thread pool size 5. Maximum concurrent transformations as of now is 5.
Attaching the profile dump screen shot in case it helps. But it shows just the heap usage.
Please let us know what we can do in this case.
Thanks,
-Arjun.
Files
Please register to edit this issue