• 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
Running out of memory with Core Data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Running out of memory with Core Data


  • Subject: Running out of memory with Core Data
  • From: "Ian G. Gillespie" <email@hidden>
  • Date: Mon, 25 Jul 2005 08:20:18 -0400

I am writing a financial application that can import account and transaction data from a previous version. When I try to import data that contains about 10 accounts and some of these accounts contain 1000s of transactions, my app reaches the 2 GB memory limit and crashes. The import also takes a LONG time (on the order of minutes).

My first thought was that it might be a memory leak, but running a few tests with the command line tool "leaks" indicated that that doesn't seem to be the case. My second thought was perhaps it was related to the undo manager, so I tried clearing the undo stack after each new transaction entity was created but that didn't help either.

Can anyone suggest why my app might hitting the 2 GB limit? Has anyone else successfully gotten Core Data to create 1000s of entities with reasonable performance?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Follow-Ups:
    • Re: Running out of memory with Core Data
      • From: Corbin Dunn <email@hidden>
    • Re: Running out of memory with Core Data
      • From: Nicko van Someren <email@hidden>
  • Prev by Date: Re: Handling two or more nib files
  • Next by Date: Re: Running out of memory with Core Data
  • Previous by thread: Re: Handling two or more nib files
  • Next by thread: Re: Running out of memory with Core Data
  • Index(es):
    • Date
    • Thread