TXFAJavaScriptSession.MaxJournalBytes

Unit: HPDFXFAEventScript

Declaration

property MaxJournalBytes: Int64 read FMaxJournalBytes write FMaxJournalBytes;

Behaviour

Bounds the aggregate UTF-8 bytes of committed scripts and evaluation results; the default is 67108864 bytes

Values must be positive when Evaluate is called; lowering the cap below the current usage prevents further evaluations

The journal cap complements the QuickJS engine memory and per-script/context limits

Related APIs

TXFAJavaScriptSession, HPDFXFAExecuteJavaScriptEvent and Interactive Dynamic XFA Widget Runtime