SERVER-138199Open
Track CBR sample memory in peakTrackedMemBytes and serverStatus
Each query that runs through the sampling estimator currently holds a sample in memory. Currently, the memory usage of that sample is already computed in [SamplingEstimatorImpl::getSamplingMetadata()|https://github.com/10gen/mongo/blob/2029eca66f86a397d5e7322e84732018705d7838/src/mongo/db/query/compiler/ce/sampling/sampling_estimator_impl.cpp#L603-L607] but this is only exposed in explain: * It is not charged to the operation's memory tracker, so it does not show up in {{peakTrackedMemBytes}}.