THPDFXFAFormScriptBudgets Record

THPDFXFAFormScriptBudgets is the component-facing budget record stored by THotPDF.XFAFormScriptBudgets

Default bounds script bytes, FormCalc operations, elapsed time, expression depth, array items, value bytes, instance operations, QuickJS memory, QuickJS stack use, and QuickJS interrupt checks

MaxJournalBytes and MaxJournalEvents raise or lower the replay/history journal ceilings that keep XFA remerge and replay metadata bounded; zero in either field keeps the historical 64 MiB and 8192-event defaults in force

Assign the complete record before flattening; a new flatten pass snapshots its values into the XFA engine

See Bounded XFA FormCalc and JavaScript