Template:INI:Papyrus:iMaxStackDepth

Revision as of 12:31, 30 August 2019 by imported>Qazaaq (Scrivener07 moved page Template:Game:INI:Papyrus:iMaxStackDepth to Template:INI:Papyrus:iMaxStackDepth)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

iMaxStackDepthEdit

  • 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.