[mono-android] Simple project with massive memory leak
Sayed Arian Kooshesh
kooshesh at gmail.com
Sun Nov 27 00:38:39 EST 2011
gusman,
way to repeat everything i just said.
On Sat, Nov 26, 2011 at 10:43 PM, Gusman <Geniwab at gmail.com> wrote:
> Sayed, you are helping no one.
>
> John is triying to know if the webclient leaks memory, so he wrote a cyclic
> app which calls DownloadString recursively to test those leakages.
>
> John, my experience, at least on Windows is that the webclient leaks memory
> with async calls.
> Using workerthreads is only a workaround to use synchronous calls, not a
> good idea(less performance and higher resource usage).
>
> You are creating anonymous delegates and a new webclient on each call, have
> you tried to reuse your items?
>
> My advine is to use a HttpWenRequest and use Its async methods.
>
> --
> View this message in context: http://mono-for-android.1047100.n5.nabble.com/Simple-project-with-massive-memory-leak-tp5011249p5025925.html
> Sent from the Mono for Android mailing list archive at Nabble.com.
> _______________________________________________
> Monodroid mailing list
> Monodroid at lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
--
Extreme Knowledge is not something for which he programs a computer
but for which his computer is programming him.
-Wozniak
More information about the Monodroid
mailing list