-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 6.0.4, 6.2.0-rc0
-
Component/s: None
-
None
-
Storage Execution
-
Fully Compatible
-
ALL
-
v7.3, v7.0, v6.0
-
-
Execution Team 2023-12-11, Execution Team 2024-01-08, Execution Team 2024-01-22, Execution Team 2024-02-05
-
(copied to CRM)
We decrement from memUsage when we free unused buffers from _activeBuffers here. The calculation is incorrect and undercounts actual freed memory causing the memUsage stat to balloon. This can be a problem when the memusage stat grows past the in-memory limit for the sorter resulting in spilling to disk on every key added to the sorter, eventually leading to an OOM issue.
- is caused by
-
SERVER-68125 Index build on multi-key fields can consume more memory than limit
- Closed
- related to
-
SERVER-82037 Memory used by sorter spills can grow without bound
- Closed