• Java XSLT Memory Leak

    I ran into a strange memory (leak?) problem when I had a to write a Java command line tool that used javax.xml to transform and JAXB to analyze a XML structure and that finally stored the results in a CMS. This tool had to parse quite a big XML file (> 300MB), perform some XSLT (using javax.xml.transform.Transformer.transform(Source xmlSource, Result outputTarget)) and then continue to work on that XML file. Transforming the file consumed a little bit more than 1GB of RAM and even after the file was transformed, that RAM (heap space) ...

    • mehr