TXFAJavaScriptSession.MaxJournalBytes

Unit: HPDFXFAEventScript

Declaration

property MaxJournalBytes: Int64 read FMaxJournalBytes write FMaxJournalBytes;

Behavior

Bounds the combined UTF-8 script/result storage and journal indexes for committed history and immutable replay entries, plus shared support source and the complete native retired-identity index when supported by the active bridge; 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 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