Details
-
Bug
-
Resolution: Won't Fix
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
ALL
Description
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
|