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 [email protected] UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid
