Thanks, I look forward to the 4.04 release. Any idea how long it will be?

I don't suppose you guys have an errata that shows all the known gref leaks? 
This would be useful for avoiding them, and at least prevent me from chasing
red herrings all day.
As for the "other" leak I mentioned with strings, it seems to be related to
changing the "text" property of a TextView. 

 as in:  "TextView.Text = TranslationLookup(TextView.Text);"

Which is something I do whenever the user changes language settings.  The
translation lookup simply returns an existing string from a dictionary, so
it doesn't actually allocate anything.

But, this seems to allocate a new GRef, and doesn't free up one. These stale
grefs get freed when I launch a new activity, but as long as the main
activity still runs, it holds on to it.  Although it attempts to free it on
each subsequent GC, but then resurrects it again.  It will continue to do
this over and over.

Generally most apps won't care too much as they are not meant to run
continuously.  However, my app runs 24/7 and eventually will die if it has
any leaks.  This would be bad. :)

Thanks again. 



--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Tracking-GlobalReferences-tp5457139p5458167.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to