Post

Replies

Boosts

Views

Activity

Comment on NSPersistentCloudkitContainer Memory Leak -> Crash? (iOS 15 beta 4 & 5)
I've had an Apple Engineer reply to me now directly with my TSI so hopefully we can get to the bottom of this. When I ingest a small external data file it imports and syncs to iCloud, but as the file size increases (and the relationship counts increases), the delay in syncing and RAM consumption increases significantly to the point where it fails to sync at all. My backup restore is effective a 'large' data file with 19,000 metadata objects - entities, relationships, etc). There is something about relationships that is grinding things to a halt, a problem which didn't exist in iOS 13 & 14.
Sep ’21
Comment on NSPersistentCloudkitContainer Memory Leak -> Crash? (iOS 15 beta 4 & 5)
Thanks for the reply. As I wasn't getting feedback on my feedback I wasn't filled with confidence that uploading anything else would help - it felt like a one-way process. I see the same issue trying to restore the de-identified backup file I sent to FB9412346 (stripped of image data) - there is no way I can simulate this easily as we're talking about syncing thousands of small patient ID label images. A DTS Engineer (who I've liaised with before) has been in touch and I've sent a detailed set of test files & simple instructions to import them to see that, above a certain threshold, it fails to sync. Hopefully he'll see the issue at his end. At least we can now have a back & forth, rather than posting on a forum which is a clunky way to try and resolve this. Because I was led to believe this was a bug (and others have seen it too), and it only started happening at a specific iOS change I've always assumed it wasn't my fault... but maybe it is, and that's why I filed a TSI, but until now was always bounced back to Feedback. In some ways I hope it is me just being a muppet.
Sep ’21
Comment on NSPersistentCloudkitContainer Memory Leak -> Crash? (iOS 15 beta 4 & 5)
Not yet. The ball is in Apple's court but they know it's an issue and they're working on it. Due to the complexity of finding the bug, fixing it, testing it and merging it with the existing update roadmap, it might take several weeks before it's fixed... but I do know that the Frameworks Engineers are working hard to sort this out. As soon as I here something official in the TSI and I can report it here, I'll let you know.
Oct ’21
Comment on NSPersistentCloudkitContainer Memory Leak -> Crash? (iOS 15 beta 4 & 5)
Oh, geez... that's not good. The moment I noticed this bug back in iOS15 beta 4 I thought it was a critical bug, but took a while to convince anyone. Still no further updates from Apple at my end but will post as soon as I have any updates. Thanks for submitting a parallel feedback report. Because this bug seems to appear only with complex Core Data structures, a lot of Developers are probably just not seeing it yet.
Nov ’21