SAP Note 1229110 - Lack of memory when working with large amounts of XML data

Component : ABAP XML processing -

Solution : https://service.sap.com/sap/support/notes/1229110 (SAP Service marketplace login required)

Summary :
The SAP Note addresses an issue where processing large XML files can lead to system termination due to memory constraints. This problem typically occurs in systems using DOM to map XML structures in server memory, utilizing considerably more space than the XML data alone. Errors can arise during the final transformation stages when utilizing iXML in conjunction with XSLT or during large document processing in Simple Transformations. Remedies include upgrading server resources, limiting data sizes, reconfiguring XML processing to minimize DOM usage, employing event-based parsing, or directly streaming XML data to minimize memory impact. The note also suggests an iXML-based programming approach to manage XML file sizes efficiently.

Key words :
simple transformations call transformation id reason, dom stays confined  document->remove_node, workfile type string default 'ixml_work, output streamixml = cl_ixml=>create, start withdocument = ixml->create_document, ostream = stream  recursive = 'x', generate large xml files, entire xml document converted, correctly configured application server, string        type string

Related Notes :

1081257Memory leak in the iXML library
981165Downport dataset reader/writer
875762XSLT: memory problems (keys and multi-nodesets)
844722XSLT/iXML Renderer: Memory Consumption