Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSURLConnection memory hog?



on 06/11/10 23:15, Paul Haddad at email@hidden wrote:

> Hi All,
> 
> Anyone else find that NSURLConnection seems to be a huge memory hog?
> 
> As soon as I use it my RPRVT goes from ~3M to ~13M which seems a bit
> more then excessive to me.  Not to mention that it seems to leave 2
> threads hanging around, even after everything has been released.
> 
> I probably wouldn't care if it used up a bunch of RAM/threads and then
> released when it was done, but it seems pretty crazy that a class that
> is probably used by most to do tiny requests uses and keeps such a
> huge chunk of resources.
> 
> Anyone else notice this?  Or better yet found a nice solution?

I'm not sure if that memory usage is excessive, but I have seen that
NSURLConnection does seem to leave things hanging and have filed a bug or
two.  Search the archives and you'll find several interesting stories.

Jerry Krinock


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

References: 
 >NSURLConnection memory hog? (From: "Paul Haddad" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.