Require cycle causing memory leaks?

I have a problem while develop react native, my computer would slow down overtime and crash the emulator, i need to close the debugger ui and emulator and restart requlary to avoid crash. some people suggest that is a memory leak. i look at the debugger and show warning require cycle, all the warnings come from the react-native-firebase that i use, here example of the warning

require cycle: node_modules\react-native-firebase\dist\modules\firestore\DocumentSnapshot.js -> node_modules\react-native-firebase\dist\modules\firestore\DocumentReference.js -> node_modules\react-native-firebase\dist\modules\firestore\DocumentSnapshot.js

does the require cycle warning causing the memory leaks or it not? i don’t know how to debug memory leak.

Require cycle causing memory leaks?