MongoDB Realm node.js integration

Hi all,
We are using Realm with node.js in our product. The way we are using it is following:

const realmConfig = await{
path: "db_name.realm",
schema: configurationList,
schemaVersion: constant.appConfig.realm_schema
const data = common.cloneObject(realmConfig.objects(schemaName));

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.