• 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: running out of NSPipes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: running out of NSPipes


  • Subject: Re: running out of NSPipes
  • From: Scott Ribe <email@hidden>
  • Date: Fri, 18 Apr 2008 07:21:06 -0500
  • Thread-topic: running out of NSPipes

> I have the function wrapped in an autorelease pool and have tried
> explicitly allocating and releasing the NSPipe.

Sre you sure the NSPipes are being dealloc'd? Are you sure you have sent
release/autorelease enough times? NSTask probably retains the NSPipes. Are
you reusing the same NSTask? If not, is the NSTask being dealloc'd, in other
words is it being released enough and is it alloc'd within the scope your
autorelease pool?

--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 722-0567 voice


_______________________________________________

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: 
 >running out of NSPipes (From: justin webster <email@hidden>)

  • Prev by Date: Re: Drawing a 1 pixel-perfect wide bordered NSBezierPath
  • Next by Date: Re: Drawing a 1 pixel-perfect wide bordered NSBezierPath
  • Previous by thread: running out of NSPipes
  • Next by thread: Re: running out of NSPipes
  • Index(es):
    • Date
    • Thread