-
Type:
Bug
-
Resolution: Won't Fix
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: JavaScript, Shell
-
None
-
Fully Compatible
-
ALL
-
None
-
None
-
None
-
None
-
None
-
None
-
None
When connections (Mongo instances in the shell) are null'd they are not automatically garbage collected, as an example. There are probably other examples out there too.
> gc() > db.serverStatus().connections.current 2 > var m2 = new Mongo() > db.serverStatus().connections.current 3 > var m2 = null > db.serverStatus().connections.current 3 > gc() > db.serverStatus().connections.current 2