我的领域成长得如此之快,所以我有一个内存分配大小的例外。我的领域大小约为3.2GB,因此我将此领域的配置用于解决以下问题:
let config = Realm.Configuration(
// Set the new schema version. This must be greater than the previously used
// version (if you've never set a schema version before, the version is 0).
schemaVersion: 11,