-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 3.3.10
-
Component/s: JavaScript
-
None
-
Fully Compatible
-
Platforms 2016-08-26
We've currently implemented soft limits on memory consumption that attempt to catch out of memory conditions and unwind gracefully by throwing javascript exceptions. This may not be good enough however (as it still kills the running javascript job and memory use ramps higher than we like, which may cause actual ooms if many js jobs each settle at the 1gb limit).
We should periodically force a hard gc during the interrupt callback if we're above some high water mark instead.
- is depended on by
-
SERVER-25477 JS does not GC properly
- Closed
- is duplicated by
-
SERVER-25477 JS does not GC properly
- Closed