Off the top of my head, with a number of files being opened so high and 
relatively close to the value you get from getrlimit with a parameter of 
RLIMIT_NOFILE, I'd suggest checking to see if that's the problem.

>Hi Nicolas, David,
>
>I'm having the exact same problem. Loading collections of small images
>(jpeg in my case).
>
>The only slight difference for me is that if I run my application
>under XCode (Debug build), I don't get any errors. All of the images
>load fine. However, when I run the (Debug) binary, I'm able to load
>around ~180 small jpegs, then just a whole bunch of the following
>error for each image I try to load past that ~180 image limit.
>
>CGImageSourceCreateWithURL failed with error code -11.
>
>I'd like to get this figured out if anyone has any insight. I'd also
>like to know if there are any *expected* differences between running
>the same (Debug) binary through XCode versus as a standalone... I
>wouldn't think so, but that's not what I'm seeing. In other parts of
>my app, the standalone will simply crash without explanation, whereas
>the XCode version will perform the expected behavior without
>complaint.
>
>-j
>
>On Tue, Aug 5, 2008 at 2:32 AM, Nicolas Zinovieff <[EMAIL PROTECTED]> wrote:
>> David,
>>
>> the images are GIFs, roughly 40KB each, 200x100 (or 100x200).
>> Nothing fancy.
>>
>> On 05 Aug 2008, at 01:05, David Duncan wrote:
>>
>>> What types of images are you trying to load?
>>
>> --
>> Zino
_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to