I’ve the same issue. My .sqlite file is 88 MB and my sqlite-wal is 1.5 GB! I tried to run VACUUM and:
storeDescription.setOption(["incremental_vacuum": "0", "wal_autocheckpoint": "100", "wal_checkpoint": "TRUNCATE"] as NSDictionary, forKey: NSSQLitePragmasOption)
Nothing helped. When I set a different journal_mode (DELETE or TRUNCATE), the app timeouts after 240 seconds when setting up Core Data. Any idea?
Topic:
App & System Services
SubTopic:
iCloud & Data
Tags: