TXFAJavaScriptSession.MaxJournalBytes
Unit: HPDFXFAEventScript
Declaration
property MaxJournalBytes: Int64 read FMaxJournalBytes write FMaxJournalBytes;
Behaviour
Bounds the combined UTF-8 script/result storage and journal indexes for committed history and immutable replay entries, plus shared support source; the default is 67108864 bytes
Published replay references survive rollback, so their backing storage remains charged until session destruction; rollback releases discarded committed history without invalidating references already held by parent lifecycle responses
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