* 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
This commit is contained in:
Justin Clarke Casey
2008-06-10 23:35:04 +00:00
parent 686f16cedd
commit 3794f25ebd
3 changed files with 21 additions and 1 deletions

View File

@@ -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();
}