Re: [mono-android] Memory Leak With Simple App

2013-04-05 Thread Natanael
Android 4.0.3 for Galaxy Tab 10.1 provides a native task manager that shows the memory used by the app. Only when I call GC after list.Clear() explicitly memory usage is stable. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Memory-Leak-With-Simple-App-tp5713078

Re: [mono-android] Memory Leak With Simple App

2013-04-02 Thread Jonathan Pryor
On Apr 1, 2013, at 7:51 PM, Natanael wrote: > I have a simple app that calls a method in the click event of the button. > > As I'm clicking the button the use of memory is increasing and it is not > released. How are you tracking memory use? Which memory is constantly increasing and isn't rele

Re: [mono-android] Memory Leak With Simple App

2013-04-02 Thread Jonathan Pryor
On Apr 2, 2013, at 10:14 AM, Paul Johnson wrote: > Without seeing some code He provided code. The problem is that he provided it via the @#%$ nabble.com web interface, which has this Q#$@#$% tendency to STRIP all attachments/etc. before sending it to the list. TL;DR: you need to visit here to

Re: [mono-android] Memory Leak With Simple App

2013-04-02 Thread Paul Johnson
Hi, I suspect this problem is related to the use of List. The Clear() method seems not release the memory. Without seeing some code, it's hard to say what the problem is. I've not seen any problems with List within a click event as once the event is out of scope, the object is destroyed. P

[mono-android] Memory Leak With Simple App

2013-04-02 Thread Natanael
I have a simple app that calls a method in the click event of the button. As I'm clicking the button the use of memory is increasing and it is not released. I suspect this problem is related to the use of List. The Clear() method seems not release the memory. Android 4.0.1 MonoAndroid 4.4.54 Vis