Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Memory leak when using p:xslt in 1.0.20 -> 1.0.23 #183
I tested and reproduced this in 1.0.20 -> 1.0.23.
We run XProc scripts repeatedly within the same Java process (not headless). After a few runs of scripts that use p:xslt, a significant amount of memory remains allocated that is directly proportional to the size of the input XML source file and the number of p:xslt steps.
XProc (add more p:xslt steps to amplify the problem):
XSL is not really relevant, but I'm including it here for completeness' sake, dummy.xsl:
Use a large input XML (>3MB) and check the Java heap after a few runs.
Is there any feedback regarding this leak?