[MonoTouch] Experimental reference counting - any progress?

René Ruppert rene.ruppert at googlemail.com
Wed Mar 21 20:11:52 UTC 2012


Hi Rodrigo,

 

That’s good news to hear that you are constantly improving memory
management.

 

Would you mind answering/commenting on a few topics related to memory
management?

 

Is it „normal“ for Monotouch applications to have an ever growing memory
footprint and (according to Instruments) never seem to drop back to the
initial value, even after a forced GC? Is this effect due to fragmentation
of the heap (I guess even SGen cannot prevent fragmentation 100%)?

 

What I’m also still wondering about: starting a Monotouch app shows
initially 20MB of memory allocated in Instruments and pushing around a view
UIViewControllers makes it grow to 30MB pretty quickly. An ObjC app only
requires about 1MB. As there is not JIT runtime involved in Monotouch, what
else requires so much memory compared to ObjC? Or is Instruments just wrong
(but at least it’s relatively easy to get memory warnings, so it cannot be
all wrong)?

 

Regards,

René

 

Von: Rodrigo Kumpera [mailto:kumpera at xamarin.com] 
Gesendet: Mittwoch, 21. März 2012 20:57
An: René Ruppert
Cc: monotouch at lists.ximian.com
Betreff: Re: [MonoTouch] Experimental reference counting - any progress?

 

Hi René,

 

We're working on improving our memory management story all the time. Right
now our focus is to make sgen (our new garbage collector)

better fit the kind of workload of MonoTouch and Mono for Android.

 

This means that right now we're not actively working on the new reference
counting code, but be sure it will receive bug fixes if they are

found or reported to us. Once those other features are done we might get
back to it.

 

Regards,

Rodrigo Kumpera

 

On Wed, Mar 21, 2012 at 4:16 PM, René Ruppert <rene.ruppert at googlemail.com>
wrote:

Hi,

 

is the experimental reference counting enhancement still under active
development? I have not read any updates about it.

Is it unchanged since it was introduced or are you always working on it,
enhancing it silently?

 

René


_______________________________________________
MonoTouch mailing list
MonoTouch at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monotouch/attachments/20120321/ae495497/attachment.html>


More information about the MonoTouch mailing list