I have a stylesheet (yes groan away Geoffrey) that runs out of memory after
chugging away for several hours on a large XML import file.

The XML file is 35Mb and contains approx 3000 identities, groups and the
relationship between them.

Have bumped the engine memory significantly (into the gigabytes), however
this file is on the smaller size - some of the other files I need to
process are twice this size.

Have coded the stylesheet using all the general best practices I determined

Using two ecmascript functions:

1. Serialize nodeset to string (from LibAJC)
2. Unique nodes (as posted in the forums by IIRC Father Ramon)

Are either of these known to be memory intensive?

I am templating over only the identity nodes, and using keys to reference
the other two node types.

If you find this post helpful and are logged into the web interface, show
your appreciation and click on the star below...