aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/UDP
diff options
context:
space:
mode:
authorUbitUmarov2016-12-01 07:49:17 +0000
committerUbitUmarov2016-12-01 07:49:17 +0000
commit1fdd71f8565ee8a52aa17f9e56ef66ab2889c859 (patch)
treebebe71ff389f70e4d6b96c0a0cfba9cfabb43081 /OpenSim/Region/ClientStack/Linden/UDP
parent fix a typo in dbs region range (diff)
downloadopensim-SC_OLD-1fdd71f8565ee8a52aa17f9e56ef66ab2889c859.zip
opensim-SC_OLD-1fdd71f8565ee8a52aa17f9e56ef66ab2889c859.tar.gz
opensim-SC_OLD-1fdd71f8565ee8a52aa17f9e56ef66ab2889c859.tar.bz2
opensim-SC_OLD-1fdd71f8565ee8a52aa17f9e56ef66ab2889c859.tar.xz
do a GC collect on last client exit
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs6
1 files changed, 2 insertions, 4 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
index 68df40f..ce7ee98 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
@@ -619,11 +619,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
619 m_entityProps = new PriorityQueue(1); 619 m_entityProps = new PriorityQueue(1);
620 m_killRecord.Clear(); 620 m_killRecord.Clear();
621 GroupsInView.Clear(); 621 GroupsInView.Clear();
622// m_scene = null; can't do this unless checks are added everywhere due to workitems already in pools
623 622
624 //m_log.InfoFormat("[CLIENTVIEW] Memory pre GC {0}", System.GC.GetTotalMemory(false)); 623 if(m_scene.GetNumberOfClients() == 0)
625 //GC.Collect(); 624 GC.Collect();
626 //m_log.InfoFormat("[CLIENTVIEW] Memory post GC {0}", System.GC.GetTotalMemory(true));
627 } 625 }
628 626
629 public void Kick(string message) 627 public void Kick(string message)