Memory readout: working set can under-report a VM's RAM

Open
#61 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
Half a day
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
electron, react, typescript

Research direction

Start with the usage sampler introduced in #57, which reads WorkingSet64 from the QEMU process, and compare it against PrivateMemorySize64 or commit size on a running WHPX guest. The issue names no file, test or tooltip component, so first locate the sampler and the Summary tab memory graph. Done means the chosen metric is justified against Task Manager's active private working set and the tooltip states what the number measures.

Written by the indexing model from the issue text.

Description

backend enhancement

The usage sampler (#57) reports QEMU's working set (WorkingSet64). Windows trims working sets under memory pressure, and with WHPX the guest's RAM may not all count toward it, so the number can drop well below what the guest really holds while the PC is busy. That makes the memory graph on the Summary tab misleading exactly when it matters.

Worth comparing against private bytes (PrivateMemorySize64) or the commit size for a running WHPX guest, and picking the one that matches what Task Manager's Details tab shows as "Memory (active private working set)" closest. Whatever it ends up being, the tooltip should say what it is.

Dominant language
TypeScript
Stars
3
Forks
0
Avg merge
2m
Merged PRs (30d)
59

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from A21-devs/Virtual-Machine-Manager

All issues in A21-devs/Virtual-Machine-Manager

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.