Why does Batch return the error 'Out of memory'?

Document type: Tech doc  
Associated product(s): Product name: Batch Version: 4.0 + Implementation: StandaloneOS: Windows
Views: 285  |  Created: 2 years agoLast updated: 2 years ago

Summary

QAS Batch optimizes performance by reading records from the source (e.g. the hard drive) into the computer’s RAM for faster access. This quantity of data held in this cache (or temporary store of records) can be controlled by the user, or set automatically by Batch.

However on some runs on some (generally high-specification) machines, a Batch run will fail with an “Out of memory” error even though there is plenty of RAM available.

Solution

The work-around for this issue is to disable data caching for the Batch run. To do this:

1. Navigate to the “Begin Cleaning” page

If the run has already failed you may need to reopen it, otherwise you will come to this screen once you have configured the run, but before you start cleaning. See figure 1.

Figure 1: The “Begin Cleaning” page

2. Open the Session Options menu

This menu contains all of the options for a particular session. Select the “Data Caching” tab, then select “None – 0 MB required”, see figure 2. Click OK to save the settings.

Figure 2: The “Data Caching” tab in the Session Options menu

3. Begin the clean as normal

Click the button to begin cleaning (as in figure 1).

This work-around will need to be enabled for each individual run – it will not be applied as a default. The processing will be slightly slower due to the increased time needed to read each record from the hard drive rather than from RAM.

Was this document helpful?

What can we do to improve this information?