aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack
diff options
context:
space:
mode:
authorUbitUmarov2018-09-29 17:42:12 +0100
committerUbitUmarov2018-09-29 17:42:12 +0100
commited0e2623b9dd9e12f7660bb067166c294ad8a2ee (patch)
tree6c596402d4063d421cd013fdb03dba3e7509e39c /OpenSim/Region/ClientStack
parentmore on culture issues (diff)
downloadopensim-SC-ed0e2623b9dd9e12f7660bb067166c294ad8a2ee.zip
opensim-SC-ed0e2623b9dd9e12f7660bb067166c294ad8a2ee.tar.gz
opensim-SC-ed0e2623b9dd9e12f7660bb067166c294ad8a2ee.tar.bz2
opensim-SC-ed0e2623b9dd9e12f7660bb067166c294ad8a2ee.tar.xz
add a few more gc collect in some spots
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
index bd178c0..516c1e5 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
@@ -30,6 +30,7 @@ using System.Collections;
30using System.Collections.Generic; 30using System.Collections.Generic;
31using System.Net; 31using System.Net;
32using System.Reflection; 32using System.Reflection;
33using System.Runtime;
33using System.Text; 34using System.Text;
34using System.Threading; 35using System.Threading;
35using System.Timers; 36using System.Timers;
@@ -635,9 +636,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP
635 636
636 if(m_scene.GetNumberOfClients() == 0) 637 if(m_scene.GetNumberOfClients() == 0)
637 { 638 {
639 GCSettings.LargeObjectHeapCompactionMode = GCLargeObjectHeapCompactionMode.CompactOnce;
638 GC.Collect(); 640 GC.Collect();
639 GC.WaitForPendingFinalizers(); 641 GC.WaitForPendingFinalizers();
640 GC.Collect(); 642 GC.Collect();
643 GCSettings.LargeObjectHeapCompactionMode = GCLargeObjectHeapCompactionMode.Default;
641 } 644 }
642 } 645 }
643 646