Thanks to Herbert's solution I've managed to avoid heapspace errors on my iterator (the one with 260000 objects). However when it was almost done the XAS automatically shut down with the following error: CORE: Maximum run time exceeded, framework is now terminating Why does this happen and how can I up the maximum (allowed) run time so I can actually let the microflow finish properly?
This means you do not have a key for your project. Default the XAS shuts down randomly between 2 and 4 hours. If you do not want this you need to buy a license. You will receive a key file which you have to put in the root of your deployment environment. After that the XAS will run unlimited.
Johan den Haan
Check the following question for more information run time and development mode.