Phase 5: Integration Unit

In a nutshell, you have just two options for saving memory here.

The first option applies if you want to create XML files. Similarly to the various XML parsers, there are two Integration Units that create XML files in different ways. The XMLTemplateParserUnit and the XMLMemSaveTemplateParserUnit. As the name suggests, the 'MemSave' version is better for your memory. The reason for this is very similar to the parser situation. The first Integration Unit creates an internal JDOM structure which is output all in one go. By contrast, the second unit writes to a file as quickly as possible and keeps hardly anything in the memory.

The second option applies if you want to load bulk data into the database. The SqlBulkUnit allows you to process the data entirely without any mapping under certain circumstances.