From 054cc8f08e00e7f0810d2397403d154ad4d4da87 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Thu, 1 Sep 2016 20:49:07 +0100 Subject: Xengine only do GC.Collect if logins disabled --- OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/ScriptEngine/XEngine/XEngine.cs') diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index a9e6132..3038915 100755 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs @@ -1280,7 +1280,9 @@ namespace OpenSim.Region.ScriptEngine.XEngine // do not load a assembly on top of a lot of to release memory // also yield a bit - GC.Collect(2); + // only if logins disable since causes a lot of rubber banding + if(!m_Scene.LoginsEnabled) + GC.Collect(2); ScriptInstance instance = null; lock (m_Scripts) -- cgit v1.1