It could easily just be boehm/sgen increasing the size of the heap to avoid excess garbage collection cycles being run. These kinds of microbenchmarks are typically a complete waste of time ;)
Alan On Wed, Sep 8, 2010 at 2:54 PM, flohei <[email protected]> wrote: > > 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. > _______________________________________________ > Mono-list maillist - [email protected] > http://lists.ximian.com/mailman/listinfo/mono-list > _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
