aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Common
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-02-07 23:03:53 +0000
committerJustin Clark-Casey (justincc)2012-02-07 23:03:53 +0000
commitc87751a822db328145963782f0f10adb23e32d39 (patch)
treedf4df50bd8439c3ab68e69543fda8db4cdfb72c0 /OpenSim/Tests/Common
parentAdd url to logging if SynchronousRestFormsRequester.MakRequest() throws an ex... (diff)
downloadopensim-SC-c87751a822db328145963782f0f10adb23e32d39.zip
opensim-SC-c87751a822db328145963782f0f10adb23e32d39.tar.gz
opensim-SC-c87751a822db328145963782f0f10adb23e32d39.tar.bz2
opensim-SC-c87751a822db328145963782f0f10adb23e32d39.tar.xz
Add start GC memory and end GC memory to object stress test printouts.
This illustrates that references to Scene, SOG, etc. are not currently being released when a stress test ends (or at regression test end in general). This means even the current stress tests take much more memory than they need, a problem that will have to be addressed.
Diffstat (limited to 'OpenSim/Tests/Common')
-rw-r--r--OpenSim/Tests/Common/Mock/TestScene.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Tests/Common/Mock/TestScene.cs b/OpenSim/Tests/Common/Mock/TestScene.cs
index 07bcdce..328cd2b 100644
--- a/OpenSim/Tests/Common/Mock/TestScene.cs
+++ b/OpenSim/Tests/Common/Mock/TestScene.cs
@@ -47,6 +47,11 @@ namespace OpenSim.Tests.Common.Mock
47 dumpAssetsToFile, config, simulatorVersion) 47 dumpAssetsToFile, config, simulatorVersion)
48 { 48 {
49 } 49 }
50
51 ~TestScene()
52 {
53 Console.WriteLine("TestScene destructor called for {0}", RegionInfo.RegionName);
54 }
50 55
51 /// <summary> 56 /// <summary>
52 /// Temporarily override session authentication for tests (namely teleport). 57 /// Temporarily override session authentication for tests (namely teleport).