我在这里遇到过这个问题。而且它在崩溃症中非常频繁:
Fatal Exception: io.realm.exceptions.RealmError: Unrecoverable error. File size overflow in /Users/cm/Realm/realm-java-release/realm/realm-library/src/main/cpp/io_realm_internal_OsSharedRealm.cpp line 144
at io.realm.internal.OsSharedRealm.nativeCommitTransaction(OsSharedRealm.java)
at io.realm.internal.OsSharedRealm.commitTransaction(OsSharedRealm.java:286)
at io.realm.BaseRealm.commitTransaction(BaseRealm.java:400)
at io.realm.Realm.commitTransaction(Realm.java:135)
at io.realm.Realm.executeTransaction(Realm.java:1395)
其中我无法做任何事情。因为我检查了任何开放的域连接,但没有找到。此外,我已经检查了有关此问题的所有领域问题,并且未在此处找到任何类似的问题。
它的到来就是:
realmObj.executeTransaction(new Realm.Transaction() {
@Override
// some code here
realmObj.copyToRealmOrUpdate(someObj);
}