Thanks @emovla. Just run into this problem with the iPadOS 17.4.1 update. Previously no problems! Anyway , your suggestion has been a lifesaver.
Post
Replies
Boosts
Views
Activity
Thanks for your help.
Yes that's what I'm doing
Maybe that is the issue?
Xcode up to date (but not using 15 beta - dont want to get into beta besting xcode!)
Will give that a try and see what happens.
Thanks again
Yes. The memory issue is fixed for me too in 15.5. Still have a couple of users reporting sync failure though. Not sure why and am chasing it up with them as far as I am able. I have closed my FB as the specific issue I reported appears to have been fixed.
Please file a bug report with Apple using Feedback, if you haven't already done so.
Quote my report FB9859660.
I am in the same situation as you, and feel as though I'm the only one!
I too don't know what to say to my users, other than Apple have a bug and they are working on it, with no timescale for resolution.
People are not happy!
It was working perfectly well in iOS14. Now it's not in iOS15.
Instruments suggests to me that there is probably a memory leak in NSPersistentCloudKitContainer.
Large spikes in Virtual Memory usage on all imports (even the small ones) but the small ones dont trigger a crash.
The same (smallish) database in iOS14 uses 36MB of VM but in iOS15 uses 1.49GB for example!!
Update for anyone else with this issue.
Here is the reply I have received from Framework engineers in response to bug report
We have additional information, the root cause of this issue is a large number of incoming images in the same import.
You can work around this by syncing your images with CloudKit directly via a CKRecord you own (instead of letting NSPersistentCloudKitContainer do it). We will continue to improve the performance of NSPersistentCloudKitContainer and followup again in this feedback report when the issue is resolved.
Still a problem in 15.4 beta too.
for @edford as requested above.
FB9837256 has 2 SIGKILL crash reports with no Termination Reason in them.
Kind Regards
Looks like it's fixed in Beta 5
Yes. Me too. Filed a report FB9467327. XCode 13 beta 4
Hi
Ive started using the external storage option for the BLOBS which is what I should have done from the start if I’d realised how many items would be stored !
this massively reduces the size of the database files and thus the wal files too. So it effectively avoids the problem altogether.
Tech Support have confirmed this is a bug and I've filed a bug report.
Not much help I'm afraid, but I have been experiencing the same. The same issue seems to affect iPad with magic keyboard trackpad scrolling too. I think it may be a bug in the implementation of scrolling on trackpads. So far I've been unable to produce a workaround. I've tried using ScrollView and ScrollReaderView as alternatives to List, but the same issue arises. So doesn't appear confined just to List.