I have created a core data model in which i add images of binary data type with "Allow external storage". I Sync it on iCloud with Cloudkit using "NSPersistentCloudKitContainer". When it automatically sync it from cloud to other device or i uninstall the app and re install it. I have a memory crash as follow.
<NSSQLSaveChangesRequestContext: 0x281ec8420> , *** NSAllocateMemoryPages(28317598) failed with userInfo of (null)
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** NSAllocateMemoryPages(28317598) failed
I got this crash after updating to iOS 13.1 beta 2. I don't get this crash on simulator iOS 13.0 (It sync it succeccfully from cloud in simulator.)