Sounds like the scans are quite simply too large to stay in memory, I would assume a very large build job or you are using very high DPI and very little compression , which is causing massive file sizes during file creation and filling the available memory on the device.
Depending on the job in question, it could be fixed by breaking up the job a bit, or even simply using the TEXT preset (Whitespace is not counted as data in the filing)