• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSURLConnection: "Greedy Memory Eater" and Error 303
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSURLConnection: "Greedy Memory Eater" and Error 303


  • Subject: Re: NSURLConnection: "Greedy Memory Eater" and Error 303
  • From: Jens Alfke <email@hidden>
  • Date: Fri, 09 Sep 2011 13:48:33 -0700

On Sep 9, 2011, at 9:10 AM, Andreas Grosam wrote:

> One other thing is, using Instruments makes the scenario worse. When Instruments is connected, the app crashes much sooner due to memory problems. So, I support my observations on logs, too.

That sounds suspicious. You may have memory errors in your code that become worse when run under Instruments. If some of those are leaks, it could explain the excessive memory use you see.
In particular, make sure you’ve got “malloc scribble” turned on (in Xcode 4 it’s a checkbox in the Run tab of the scheme editor) and run the static analyzer to see if it can find errors.

—Jens

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >NSURLConnection: "Greedy Memory Eater" and Error 303 (From: Andreas Grosam <email@hidden>)
 >Re: NSURLConnection: "Greedy Memory Eater" and Error 303 (From: David Duncan <email@hidden>)
 >Re: NSURLConnection: "Greedy Memory Eater" and Error 303 (From: Andreas Grosam <email@hidden>)

  • Prev by Date: Re: NSURLConnection: "Greedy Memory Eater" and Error 303
  • Next by Date: Re: Set a view's delegate using IB
  • Previous by thread: Re: NSURLConnection: "Greedy Memory Eater" and Error 303
  • Next by thread: Re: NSURLConnection: "Greedy Memory Eater" and Error 303
  • Index(es):
    • Date
    • Thread