You're running out of memory.
If your inner loop isn't wrapped in an autorelease pool, consider adding
one.
Also, use Instruments to see where the memory is going.
Daniel Child wrote:
In the process of parsing thousands and thousands of records and
placing (most of) them in a table which I want to save to disk, I get
this error:
LSC Data Preparation(1097,0xa000ed88) malloc: ***
vm_allocate(size=1069056) failed (error code=3)
LSC Data Preparation(1097,0xa000ed88) malloc: *** error: can't
allocate region
LSC Data Preparation(1097,0xa000ed88) malloc: *** set a breakpoint in
szone_error to debug
LSC Data Preparation(1097,0x1849c00) malloc: ***
vm_allocate(size=1069056) failed (error code=3)
LSC Data Preparation(1097,0x1849c00) malloc: *** error: can't allocate
region
LSC Data Preparation(1097,0x1849c00) malloc: *** set a breakpoint in
szone_error to debug
I have no idea what to do with this. Can someone point me to
documentation to move on from here. (I have no idea how to set a
breakpoint in szone_error.) Also, what tools might help? I thought I
was quite careful about the memory rules. Is it possible that I am
simply building too large a table and need to change my approach?
Thanks for looking!
_______________________________________________
Cocoa-dev mailing list ([email protected])
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/jstiles%40blizzard.com
This email sent to [EMAIL PROTECTED]
_______________________________________________
Cocoa-dev mailing list ([email protected])
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]