OpenSimMirror/OpenSim/Tests
Justin Clark-Casey (justincc) ebe5e1731d In ObjectTortureTests, run garbage collector on Teardown and run scene loop update when scene objects have been deleted.
At least on mono 2.6.4, running GC.Collect() is not guaranteed to force gc of all objects when run in the same method where those objects had references.
Therefore, GC.Collect() is now being done in the per-script teardown of ObjectTortureTests.
In addition, scene loop update is being run after garbage collection in order to clean out the viewer update list of scene objects in the SceneGraph.
These measures mean that scene objects/parts are now garbage collected after a test run if deleted from the scene, resulting in a much better memory usage report (though probably still not very accurate).
However, deletion takes a very long time - what's really needed is to find out now why the entire scene isn't being GC'd by this measure.
This change hasn't yet been applied to the other stress tests.
2012-02-15 01:45:25 +00:00
..
Clients Added missing "Old Guids=true" to ConnectionString 2011-06-10 21:10:37 +01:00
Common In ObjectTortureTests, run garbage collector on Teardown and run scene loop update when scene objects have been deleted. 2012-02-15 01:45:25 +00:00
Torture In ObjectTortureTests, run garbage collector on Teardown and run scene loop update when scene objects have been deleted. 2012-02-15 01:45:25 +00:00
ConfigurationLoaderTest.cs Shell Environment Variables in config 2011-11-23 10:11:47 -05:00