fgl_report_setRTFMemoryThreshold

Set the RTF memory threshold.

Syntax

fgl_report_setRTFMemoryThreshold (
   memoryThreshold INTEGER)
  1. memoryThreshold - The threshold in bytes above which documents are swapped to disk.

Usage

Function to set the RTF memory threshold. Applies to both RFT (Microsoft™) and OORFT (Open Office).

In order to prevent exhaustion of main memory when processing large documents, the processor can be instructed to swap parts of the document to a temporary disk file when the document size exceeds this threshold. The default value is set to 10% of the total available heap space. The default heap space is 64Mb.

See Usage.