mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 18:25:33 +08:00
XEngine: make calls to gc.collect on region startup scripts loading a configurable option, since it is very slow operation
This commit is contained in:
@@ -925,6 +925,13 @@
|
||||
;; by scripts have changed.
|
||||
; DeleteScriptsOnStartup = true
|
||||
|
||||
;# {CompactMemOnLoad} {} {compacts memory on each script load at startup?} {true false} false
|
||||
;; forces calls to memory garbage collector before loading each script DLL during region startup.
|
||||
;; Peek memory usage is reduced and region starts with a more compacted memory allocation.
|
||||
;; But this costs a lot of time, so region load will take a lot longer.
|
||||
;; it is more usefull if there are no previously compiled scripts DLLs (as with DeleteScriptsOnStartup = true)
|
||||
;CompactMemOnLoad = false
|
||||
|
||||
;# {DefaultCompileLanguage} {Enabled:true} {Default script language?} {lsl vb cs} lsl
|
||||
;; Default language for scripts
|
||||
; DefaultCompileLanguage = "lsl"
|
||||
|
||||
Reference in New Issue
Block a user