In some cases the Rulerunner application can run out of memory which will result in an aborted batch. To solve this issue you can define some settings so that the rulerunner thread performs an automatic restart after each processed tasks.

To enable the restart process, you must set the following in the registry.

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Datacap\Rulerunner\Misc\

Restart Individual Processors = 1

Restart Process Attempts = 0

This setting is applicable to all tasks.

If you do not want all tasks to be restarted after execution (batch creation tasks for example) you can modify the task in the rulerunner.xml file by adding the restartafterexecute=”0″ attribute.