diff options
author | Justin Clark-Casey (justincc) | 2012-02-07 23:03:53 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-02-07 23:03:53 +0000 |
commit | c87751a822db328145963782f0f10adb23e32d39 (patch) | |
tree | df4df50bd8439c3ab68e69543fda8db4cdfb72c0 /OpenSim/Tests/Torture/ScriptTortureTests.cs | |
parent | Add url to logging if SynchronousRestFormsRequester.MakRequest() throws an ex... (diff) | |
download | opensim-SC_OLD-c87751a822db328145963782f0f10adb23e32d39.zip opensim-SC_OLD-c87751a822db328145963782f0f10adb23e32d39.tar.gz opensim-SC_OLD-c87751a822db328145963782f0f10adb23e32d39.tar.bz2 opensim-SC_OLD-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/Torture/ScriptTortureTests.cs')
-rw-r--r-- | OpenSim/Tests/Torture/ScriptTortureTests.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Tests/Torture/ScriptTortureTests.cs b/OpenSim/Tests/Torture/ScriptTortureTests.cs index c0239ba..d94bbde 100644 --- a/OpenSim/Tests/Torture/ScriptTortureTests.cs +++ b/OpenSim/Tests/Torture/ScriptTortureTests.cs | |||
@@ -107,6 +107,8 @@ namespace OpenSim.Tests.Torture | |||
107 | m_expectedChatMessages = scriptsToCreate; | 107 | m_expectedChatMessages = scriptsToCreate; |
108 | int startingObjectIdTail = 0x100; | 108 | int startingObjectIdTail = 0x100; |
109 | 109 | ||
110 | GC.Collect(); | ||
111 | |||
110 | for (int idTail = startingObjectIdTail;idTail < startingObjectIdTail + scriptsToCreate; idTail++) | 112 | for (int idTail = startingObjectIdTail;idTail < startingObjectIdTail + scriptsToCreate; idTail++) |
111 | { | 113 | { |
112 | AddObjectAndScript(idTail, userId); | 114 | AddObjectAndScript(idTail, userId); |