From 56da78824352edfd8a6622f1667abf9a6c75261e Mon Sep 17 00:00:00 2001 From: "Justin Clark-Casey (justincc)" Date: Fri, 17 Aug 2012 22:50:11 +0100 Subject: [PATCH] Add information to ThreadStackSize about possibly increasing if suffering StackOverflowExceptions during script conversion/compilation (e.g. on Windows 64-bit) --- bin/OpenSim.ini.example | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example index bced817934..eac30b85a8 100644 --- a/bin/OpenSim.ini.example +++ b/bin/OpenSim.ini.example @@ -683,7 +683,9 @@ ;; Maximum number of events to queue for a script (excluding timers) ; MaxScriptEventQueue = 300 - ;; Stack size per thread created + ;; Stack size per script engine thread in bytes. + ;; If you are experiencing StackOverflowExceptions you may want to increase this (e.g. double it). + ;; The trade-off may be increased memory usage by the script engine. ; ThreadStackSize = 262144 ;# {DeleteScriptsOnStartup} {} {Delete previously compiled script DLLs on startup?} (true false) true