• 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: How to turn of the Journal logging of CoreData/Sqlite?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to turn of the Journal logging of CoreData/Sqlite?


  • Subject: Re: How to turn of the Journal logging of CoreData/Sqlite?
  • From: Jerry Krinock <email@hidden>
  • Date: Wed, 06 Apr 2016 19:21:53 -0700

> On 2016 Apr 06, at 08:27, Jens Alfke <email@hidden> wrote:
>
> If you’re seeing high memory utilization, it’s more likely something to do with Core Data itself. It might be a symptom of a way you’re misusing Core Data

I agree, having had an experience like James’ last year.  It is a huge project; the data model had 62 entities and typical user data created a Core Data SQLite library of 100 MB or so when running properly.  Starting with no library, after importing data from the old non-Core-Data version of the app, one of those new sqlite files, I forget if it was the the -shm or the -wal, grew to 1 GB.  But the app  worked fine, and after using it for some hours, those files would shrink to the expected size of 100 MB or so, with the -shm and -wal files being much smaller than the mail file, as expected.

So we ignored the problem and worked on other issues.  As the app further developed over the last half year, the problem disappeared.  That is, now when I start this app from scratch and import that same data, the library files grow slowly during the two minutes of import to a reasonable size, and stay there.


_______________________________________________

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


  • Follow-Ups:
    • Re: How to turn of the Journal logging of CoreData/Sqlite?
      • From: Alex Zavatone <email@hidden>
References: 
 >How to turn of the Journal logging of CoreData/Sqlite? (From: James Cicenia <email@hidden>)
 >Re: How to turn of the Journal logging of CoreData/Sqlite? (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: NSURLErrorKey vs. NSURLErrorFailingURLErrorKey
  • Next by Date: [NSWorkspace openURL:] - any way to avoid a new tab?
  • Previous by thread: Re: How to turn of the Journal logging of CoreData/Sqlite?
  • Next by thread: Re: How to turn of the Journal logging of CoreData/Sqlite?
  • Index(es):
    • Date
    • Thread