public virtual void testMemLeak() { // Java to C# Conversion - Divide count by 1000 to reduce execution time for now //for (int i = 0; i < 100000; i++) for (int i = 0; i < 100; i++) { sc.getDocJMFPhaseTime(); sc.getDocJMFNotification(true); sc.getDocJMFResource(); } Assert.AreEqual(mem,getCurrentMem(),100000); }