• 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: WebService requests returning nil
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WebService requests returning nil


  • Subject: Re: WebService requests returning nil
  • From: Jerry Krinock <email@hidden>
  • Date: Fri, 6 Apr 2007 10:45:49 -0700


On 2007 Apr, 06, at 9:37, spike grobstein wrote:

Has anyone else ever seen something like this happen? Is there anything I should change?

Yup, I've seen stuff like this, although not with SOAP requests. Your system has various limits on the number of running processes, open file handles, etc. and when these limits are reached the Cocoa methods that need additional resources start returning nil. To conserve resources, make sure that you are releasing/destroying/ whatever each request as you are done with them. Also, declare a local autorelease pool and release it at the same time, in case your requests are allocating autoreleased stuff behind your back. (For example, NSPipe allocates autoreleased files handles).


Jerry Krinock
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


  • Follow-Ups:
    • Re: WebService requests returning nil
      • From: spike grobstein <email@hidden>
References: 
 >WebService requests returning nil (From: spike grobstein <email@hidden>)

  • Prev by Date: CoreData and Binding question
  • Next by Date: A question about formatters/validation
  • Previous by thread: WebService requests returning nil
  • Next by thread: Re: WebService requests returning nil
  • Index(es):
    • Date
    • Thread