Template:INI:Papyrus:iMaxStackDepth

From the Fallout4 CreationKit Wiki
Revision as of 08:11, 28 August 2019 by imported>Qazaaq (Created page with "<onlyinclude> == iMaxStackDepth == * '''Default:''' <Code>100</Code> This is the maximum stack depth the VM will allow before forcibly killing function calls on that stack. T...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

iMaxStackDepth

  • Default: 100

This is the maximum stack depth the VM will allow before forcibly killing function calls on that stack. This mainly helps with killing any potential infinite recursion. If you find yourself hitting this, consider using loops over recursion. Increasing this value may increase stack memory pressure, while decreasing this may forcibly kill valid scripts.