[mono-android] Simple project with massive memory leak
SRI
srid68 at gmail.com
Sat Nov 26 22:00:13 EST 2011
Hi,
Before responding, can you please take the time to read the
full thread.
My Response was to Jack's issue about a Massive Memory Leak
observed in his enclosed project. (Did you see the Project?)
I just pointed out by googling that WebClient has issues with
Memory and hence he needs to change his code.
If you have a concrete suggestion to Jack and me about how we
can change this code (Please look at his enclosed project) so that we
avoid memory leak as well as implement the functionality of
downloading from a Url, i will be gratefull.
I am not an expert, but I know of only two methods of
downloading from a Url, either using WebRequest or WebClient and I am
not sure how BackgroundWorker can improve this.
Thanks for you help.
Best Regards,
Sridharan Srinivasan
Alias Sri.
On Sun, Nov 27, 2011 at 10:20 AM, Sayed Arian Kooshesh
<kooshesh at gmail.com> wrote:
> Use backgroundworker, not an async. Silly.
>
> you're using very outdated code. What did google threading? Googling
> code is like sticking your wang in a glory hole. You're not gonna get
> anything good.And you may come out with more problems than you went in
> with.
>
>
> So
> also, webclient i think wraps backgroundworker.
>
>
>
>
> http://msdn.microsoft.com/en-us/library/system.componentmodel.backgroundworker.aspx
>
>
>
> Use that. Avoid "threads" in c# cuz they are crap. I know from
> experience. I've never developed mono-droid just an experienced c#
> developer.
> _______________________________________________
> Monodroid mailing list
> Monodroid at lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
--
Sridharan Srinivasan
Alias Sri
Ph:(65)98255785/(65)63922439
www.arshu.com
More information about the Monodroid
mailing list