Re:Advice for the next 100 Rust GUIs
by codedokode on Sunday November 22, 2026 @09:53AM
(#50600240)
Do you know how the memory is counted by Windows? I saw screenshots with suspiciously low numbers and it seems to me Microsoft counts it the wrong way. For example, your app "uses" 4.6 MB but only the code of Qt libraries might weigh more. Probably task manager counts only "private pages" or "working set" or some other garbage metrics.
I wish people were using proper tools.
The proper way is count PSS (proportional set size) + PSS of swap + size of allocated kernel structures + size of allocations in other daemons. I doubt Windows task manager can do that.
The simple test would be adding all "memory" values and checking if they match total memory usage. Many OS fail this simple test.
I wish people were using proper tools.
The proper way is count PSS (proportional set size) + PSS of swap + size of allocated kernel structures + size of allocations in other daemons. I doubt Windows task manager can do that.
The simple test would be adding all "memory" values and checking if they match total memory usage. Many OS fail this simple test.