Some points of interest:

1. vm_allocate(size=1069056) - Is each of your 'thousands and thousands of records' this large? If so then it is no wonder that you will run out of address space after a couple of thousand (on 32-bit)

2. If not, then after you have parsed each record, are you sure you have freed any temporary parsing data from which you create your table items each time you create an item?

3. If all else fails, try building your app as 64-bit

MAtt

On 12 Mar 2008, at 14:34, 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/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to