aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Statistics/BaseStatsCollector.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-06-10 23:35:04 +0000
committerJustin Clarke Casey2008-06-10 23:35:04 +0000
commit3794f25ebd4dae48c4eabfa3d63a4d4c30a5aa30 (patch)
tree00f6d3cbf598e18d5bdef6bec01992d5f458e39a /OpenSim/Framework/Statistics/BaseStatsCollector.cs
parent* If a server has statistics, print these out to the log every hour to get so... (diff)
downloadopensim-SC_OLD-3794f25ebd4dae48c4eabfa3d63a4d4c30a5aa30.zip
opensim-SC_OLD-3794f25ebd4dae48c4eabfa3d63a4d4c30a5aa30.tar.gz
opensim-SC_OLD-3794f25ebd4dae48c4eabfa3d63a4d4c30a5aa30.tar.bz2
opensim-SC_OLD-3794f25ebd4dae48c4eabfa3d63a4d4c30a5aa30.tar.xz
* 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
Diffstat (limited to 'OpenSim/Framework/Statistics/BaseStatsCollector.cs')
-rw-r--r--OpenSim/Framework/Statistics/BaseStatsCollector.cs2
1 files changed, 1 insertions, 1 deletions
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
43 sb.Append( 43 sb.Append(
44 string.Format( 44 string.Format(
45 "Allocated to OpenSim : {0} MB" + Environment.NewLine, 45 "Allocated to OpenSim : {0} MB" + Environment.NewLine,
46 Math.Round(GC.GetTotalMemory(true) / 1024.0 / 1024.0))); 46 Math.Round(GC.GetTotalMemory(false) / 1024.0 / 1024.0)));
47 47
48 return sb.ToString(); 48 return sb.ToString();
49 } 49 }