• 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
NSPersistentDocument SQLite and Garbage Collection hang during save
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSPersistentDocument SQLite and Garbage Collection hang during save


  • Subject: NSPersistentDocument SQLite and Garbage Collection hang during save
  • From: Michael Link <email@hidden>
  • Date: Thu, 24 Jul 2008 17:04:28 -0500

I've run into a problem when using NSPersistentDocument that uses a SQLite store and the application uses garbage collection. After one or more saves on a document the application will hang while trying to perform a save. A backtrace indicates that the hang occurs in a sqlite function that is waiting at a semaphore. I remember reading an earlier discussion that said that the problem could be worked around by changing from using either NSPersistentDocument, SQLite store or garbage collection. I'm wondering if anyone has any ideas for workarounds that might work without changing that configuration?

--
Michael
_______________________________________________

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


  • Prev by Date: Re: Daemon Advice?
  • Next by Date: Cocoa Touch template not appearing.
  • Previous by thread: Re: Replacement for openUntitledDocumentOfType:display:
  • Next by thread: Cocoa Touch template not appearing.
  • Index(es):
    • Date
    • Thread