[Mono-list] Another Memory Leaking Question

flohei flo at rootof.net
Wed Sep 8 09:54:28 EDT 2010


Hi Stifu,

this is what I'm doing when the button get's clicked:

		int i = 0;
		
		partial void buttonClicked (NSObject sender) {
			for (int i = 0; i < 20000; i++) {
				NSString val = new NSString(string.Format("Clicked {0} times", ++i));
				label.StringValue = val;
				val.Dispose();
			}
		}

I did not try it using only .NET or enabling SGen yet. I'm using a trunk
build of MonoDevelop that can be found 
http://monodevelop.com/Download/Trunk_Builds here .

I'm trying to figure out if MonoMac is the right solution for an upcoming
project where we have to build a native Mac UI for an existing .NET
application.

Best
–f
-- 
View this message in context: http://mono.1490590.n4.nabble.com/Another-Memory-Leaking-Question-tp2531261p2531316.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list