-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: 8.0.32
-
Component/s: None
-
None
-
Query Integration
-
ALL
-
-
200
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Server-side JavaScript fails with JSInterpreterFailure "Out of memory" while the actual SpiderMonkey heap is nearly empty. MongoDB's JS memory counter (mongo::sm::malloc_bytes) is incremented when a mozilla::StringBuffer is allocated but never decremented when it is released, so it tracks cumulative string allocation instead of live memory. Once it crosses internalQueryJavaScriptHeapSizeLimitMB (default 100MB) the operation is killed.
- is caused by
-
SERVER-117317 Upgrade MozJS to ESR 140.7
-
- Closed
-