From 3794f25ebd4dae48c4eabfa3d63a4d4c30a5aa30 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Tue, 10 Jun 2008 23:35:04 +0000 Subject: * minor: Properly clear the pushed asset cache statistics where the clear-assets command is used on the region console * stop waiting for garbage collection when GC total memory used is requested, in case the periodic request of this lags the sim --- OpenSim/Framework/Statistics/BaseStatsCollector.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Framework/Statistics/BaseStatsCollector.cs') diff --git a/OpenSim/Framework/Statistics/BaseStatsCollector.cs b/OpenSim/Framework/Statistics/BaseStatsCollector.cs index 225c551..c888f4c 100644 --- a/OpenSim/Framework/Statistics/BaseStatsCollector.cs +++ b/OpenSim/Framework/Statistics/BaseStatsCollector.cs @@ -43,7 +43,7 @@ namespace OpenSim.Framework.Statistics sb.Append( string.Format( "Allocated to OpenSim : {0} MB" + Environment.NewLine, - Math.Round(GC.GetTotalMemory(true) / 1024.0 / 1024.0))); + Math.Round(GC.GetTotalMemory(false) / 1024.0 / 1024.0))); return sb.ToString(); } -- cgit v1.1