repo git: turn off garbage collection by default

This commit is contained in:
Hylke Bons 2011-05-22 18:54:47 +01:00
parent 4eb8abad8d
commit 0167aef16a

View file

@ -216,9 +216,10 @@ namespace SparkleLib {
SparkleHelpers.DebugInfo ("Commit", "[" + Name + "] " + message);
// Collect garbage pseudo-randomly
if (DateTime.Now.Second % 10 == 0)
CollectGarbage ();
// Collect garbage pseudo-randomly. Turn off for
// now: too resource heavy.
// if (DateTime.Now.Second % 10 == 0)
// CollectGarbage ();
}