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.
This commit is contained in:
Justin Clark-Casey (justincc)
2012-02-07 23:03:53 +00:00
parent 1f402fdf5e
commit c87751a822
4 changed files with 22 additions and 4 deletions

View File

@@ -107,6 +107,8 @@ namespace OpenSim.Tests.Torture
m_expectedChatMessages = scriptsToCreate;
int startingObjectIdTail = 0x100;
GC.Collect();
for (int idTail = startingObjectIdTail;idTail < startingObjectIdTail + scriptsToCreate; idTail++)
{
AddObjectAndScript(idTail, userId);