using System; using li_boost_shared_ptrNamespace; public class runme { // Debugging flag public static bool debug = false; private static void WaitForGC() { System.GC.Collect(); System.GC.WaitForPendingFinalizers(); System.Threading.Thread.Sleep(10); } static void Main() { if (debug) Console.WriteLine("Started"); li_boost_shared_ptr.debug_shared=debug; // Change loop count to run for a long time to monitor memory const int loopCount = 1; //50000; for (int i=0; i