-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Storage Execution
-
Fully Compatible
-
v8.0, v7.0
-
Storage Execution 2025-07-21
-
None
-
None
-
None
-
None
-
None
-
None
-
None
This change increases the maximum memory usage for index builds during initial sync to 10% of available RAM by default, at least 200MB, and up to 16GB. These thresholds can be tuned with the following setParameters: initialSyncIndexBuildMemoryPercentage, initialSyncIndexBuildMemoryMinMB, and initialSyncIndexBuildMemoryMaxMB.
SERVER-102428 effectively reduces the memory allocated to the simultaneous index builds during initial sync. We should give initial sync a larger amount of memory to build indexes. There's no reason why it needs to obey the index build default memory limits.
- is related to
-
SERVER-102428 Logical initial sync allocates double maxIndexBuildMemoryUsageMegabytes
-
- Closed
-