Mar 02 2024 04:23 PM - edited Mar 02 2024 05:51 PM
I'd like Windows developers to look at the issue reported here.
I reported this twice already:
https://answers.microsoft.com/en-us/windows/forum/windows_10-performance/windows-is-leaking-memory-w...
https://learn.microsoft.com/en-us/answers/questions/1601862/windows-is-leaking-memory-when-reading-r...
And originally posted at https://internals.rust-lang.org/t/high-memory-usage-on-random-file-reads-using-seek-read-windows/203...
Support agent in live chat recommended to post it here instead, so here I am, posting a third time with hopes to reach someone who can fix this issue.
Tl;DR: A small Windows app (in the internals.rust-lang.org thread linked above) reads tiny chunks of a large 500G file at random and uses 0.5M of RAM, while total memory used by Windows increases by ~1G instead. This is MUCH worse when even larger files are involved, similar app easily makes Windows use over 100G of RAM for no good reason. For some users this means active swapping to disk and sluggish experience, some just run out of memory and crash. Reproducible on Windows 10 and 11.
Things I tried and learned:
P.S. I picked "Community" label as the least irrelevant, support representative said "Just post it." 🤷, so please don't just delete this.
May 27 2024 02:55 AM
Hello, I had issues with memory leak i think, it occurs when running any app (could be a game or even Chrome playing YT vids) and randomly my whole system just hiccups, audio stops, fps drops sub 15, USB devices disconnect or sound robotic-ish (my mic for ex.) and after like five seconds it goes back to normal.
A friend of mine suggested to me that my pc suffers with a memmory leak. He said two resolutions are at hand - restore Windows with a non-corrupted version of the current Windows (mine is 22H2) OR install an app that clears the cache once in a while automatically (intelligent stand-by list cleaner)
I wish that somebody from Microsoft directly would solve this problem so that we could enjoy memory-leak-free user experience...