I'm using the system integration with the Elastic agent and have the ' Collect metrics from System instances' option enabled, with all the default datasets within that selected. With the 8.11.0 version of this integration the amount of memory the metricbeat process consumes continues to grow over time, in to the GB range.
I've narrowed this down to two specific metric sets - 'System process metrics' and 'System process_summary metrics'. When these two metric sets are disabled the memory usage remains low and constant. The following information was pulled using 'tasklist /v'.
Memory usage after 12 hours with the two suspect metric sets disabled:
Image Name PID Session Name Session# Mem Usage ========================= ======== ================ =========== ============ metricbeat.exe 10468 Services 0 122,036 K
Memory usage after 1 hour with the two suspect metric sets enabled:
Image Name PID Session Name Session# Mem Usage ========================= ======== ================ =========== ============ metricbeat.exe 10468 Services 0 1,011,256 K
This is happening on all Windows machines with the 8.11.0 agent/metricbeat. During the time it took me to type this the memory usage has increased to 1,117,656 K. I've performed the tests of disabling/enabling the metrics multiple times and have reached the same results.
This is not happening with Windows machines running 8.10.4 agent/metricbeat. I've looked through the agent logs and could no nothing to indicate a problem.