SERVER-44174 we added a fixed 100MB limit for these accumulators. But when thinking about backporting we got nervous that this may break some applications. We should add a knob to configure this just in case this happens, but still default the limit to 100MB.
- is related to
SERVER-44174 $push and $addToSet should restrict memory usage
- related to
SERVER-73315 Guardrail to prevent an accumulator from using too much memory is ineffective when DocumentSourceGroup spills to disk