Hi all,
We are using Realm with node.js in our product. The way we are using it is following:
const realmConfig = await Realm.open({
path: "db_name.realm",
schema: configurationList,
schemaVersion: constant.appConfig.realm_schema
});
const data = common.cloneObject(realmConfig.objects(schemaName));
realmConfig.close();
Even if we are closing the connection to avoid memory leak, it’s still using enormous memory (RealmObject and BSON).
I have attached memory snapshot here.