I have a process that's generating a bunch of MIDI files. The process itself 
runs okay, but if I request a large number of files and pause execution at some 
point part way through, I notice that there are literally thousands of frames 
on the stack. In some cases, it will crash before it finishes; presumably 
because it runs out of stack space. I am using ARC (for the first time), so I'm 
wondering if it has something to do with methods retaining arguments and/or 
data they're using??? Or perhaps it has something to do with writing the files, 
which happens within the loop? For the time being, this all happens on the main 
thread (not ideal, but also not a problem for me, at this stage) -- could that 
have something to do with it?

It's really not practical to post code, since there's a lot of it, and it would 
be hard to make it clear how everything goes together, but if anybody has any 
top-of-the-head thoughts about where to start looking, I'd appreciate it.

J.
_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to