Error message "Disk full while accessing" or "The paging file is too small for this operation to complete" appears.
Check if you call the method FRDocument::Close(). This method releases the system resources held by the FRDocument object. So, each call of the Engine::CreateFRDocument method must be accompanied by a call of the FRDocument::Close() method. If it will not help, the possible reason may be in the paging file size.
The virtual memory is managed by the operation system (e.g. on Windows 2008 Server), in most cases, it works in the following way:
As soon as the system detects that memory is going to be consumed, it begins increasing the size of the paging file. If the requests for allocating come quicker than the system increases the page file size, then some of the requests fail and their initiator receives an error at the attempt to allocate memory.
To avoid the error, please check the following points:
- You have enough free space on the disk where the Temporary folder is located (by default, it's %TEMP%\FineReader Engine 12 for FineReader Engine 12)
- You have enough space for the paging file (by default, the paging file is created in the root folder of the drive C:).