-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: JavaScript
-
None
-
ALL
-
Platforms 2016-08-26
Garbage collection in Javascript is supposed to be transparent, ie. it is a feature of the language and the (non-standard) gc() function should never need to be called under ordinary circumstances.
However, under certain circumstances/workloads, the JS interpreter does not GC often (or aggressively) enough, which can cause memory exhaustion problems.
The workaround is to force garbage collection by calling gc() frequently.
- depends on
-
SERVER-25559 ImplScope should preemptively gc as we approach the soft limit for memory utilization
- Closed
- duplicates
-
SERVER-25559 ImplScope should preemptively gc as we approach the soft limit for memory utilization
- Closed
- related to
-
SERVER-23421 shell leaks memory proportional to size of inserted documents
- Closed