Watch keynotes and sessions from MongoDB.live, our virtual developer conference.

Realm node package has "cycle" warnings

Chrome debugger outputs the following warning that appears to cause circular references and possible memory leaks.

Require cycle: node_modules/realm/lib/browser/util.js -> node_modules/realm/lib/browser/rpc.js -> node_modules/realm/lib/browser/util.js

Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.

@Michael_Stelly If you have a reproduction case and steps which result in a memory leaks please file an issue on https://github.com/realm/realm-js and we will take a look

1 Like