• 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: Creating many NSPipes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating many NSPipes


  • Subject: Re: Creating many NSPipes
  • From: Thomas Engelmeier <email@hidden>
  • Date: Tue, 12 Sep 2006 17:59:40 +0200

On 25.07.2006, at 16:42, Thom McGrath wrote:

I'm attempting to run a shell script many times (in the hundreds) and need to read the output. So I create the NSPipe and all, but after so many, it starts returning nil. I have tried releasing the NSPipe when I'm done with it, but that doesn't help. It seems like I'm running out of memory or something. How can I solve this problem?

Figure out what is going wrong..

fs_usage -p <yourPID>

helps a lot..

regards,
Tom"Just bitten by AR pools not being autoreleased when the app is in background"E





_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Prev by Date: [long] Re: Running processes
  • Next by Date: Re: Way to control another App's window
  • Previous by thread: Data parsing problem -long
  • Next by thread: Cocoaheads Lake Forest, CA, 7pm tonight!
  • Index(es):
    • Date
    • Thread