Logs are currently backed by a regular array without any limit. This can lead to high memory consumption for processes that produce a lot of logs and potentially cause OOMs.
To prevent this, we should introduce the RingBuffer for the LogsAggregator when the log_flush_threshold flag is not used.
Logs are currently backed by a regular array without any limit. This can lead to high memory consumption for processes that produce a lot of logs and potentially cause OOMs.
To prevent this, we should introduce the RingBuffer for the LogsAggregator when the
log_flush_thresholdflag is not used.