• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: runtime error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: runtime error


  • Subject: Re: runtime error
  • From: Matt Gough <email@hidden>
  • Date: Wed, 12 Mar 2008 14:52:28 +0100

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@hidden)

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:
This email sent to email@hidden


References: 
 >runtime error (From: Daniel Child <email@hidden>)

  • Prev by Date: runtime error
  • Next by Date: Re: Controlling line tightening
  • Previous by thread: runtime error
  • Next by thread: Re: runtime error
  • Index(es):
    • Date
    • Thread