Re: Creating many NSPipes
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