Le 23 juin 2010 à 12:14, Ben Haller a écrit : > Hi all. I'm using NSTask and NSPipe to launch lots of little processes, and > I'm running out of file descriptors. In my googling and archive searching, I > found some info that led me to several approaches: > > 1. I ran ObjectAlloc and Leaks under Instruments and confirmed that I am not > leaking pipes or file handles. Nor is it an autorelease pool issue; the run > loop is running freely as I start and stop tasks, so the pipes and file > handles get dealloced properly. All pipes and file handles made by my task > code were listed by ObjectAlloc as "transitory".
Did you try to track your File descriptor problem using the File Activity probe instead of memory probes ? -- Jean-Daniel _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com