Project

Profile

Help

Support #2585

closed

java.lang.OutOfMemoryError: PermGen space with saxon

Added by Arjun Kadayaprath almost 9 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
2016-01-14
Due date:
% Done:

0%

Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

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

saxonProfileFileSnapShot.png (35.8 KB) saxonProfileFileSnapShot.png Heap Memory utilization during OOM. Snap shot from profile dump. Arjun Kadayaprath, 2016-01-14 15:26

Please register to edit this issue

Also available in: Atom PDF