Fix app.mem_usage (Windows) by thiagoftsm · Pull Request #21085 · netdata/netdata

Summary

The app.mem_usage value on Windows currently has a major discrepancy with the Windows Task Manager due to an incorrect data collection key.

This PR fixes the issue by correcting the variable name, bringing the reported value much closer to Task Manager's.

This branch:
pr

Next image shows this PR on left and current master on right:

pr

Test Plan
  1. Build current master, generate installer and install it.
  2. Go to app.mem_usage select netdata and compare with Task Manager values.
  3. Now, compile this branch, and install it.
  4. Repeat step 2.
Additional Information
For users: How does this change affect me?