I previously had another memory leak and it was diagnosed and solved. But now I feel I have another one and I can't seem to detect it the way I had before. Here's the old question - Windows 10 Memory Leak - Tags (poolmon) FMic and Irp - Nonpaged pool at 5.7GB
My issue now is basically the same, the difference is that the Nonpaged pool is not the problem this time at 700-800 MB vs 5.7 GB in the previous question.
I want to understand how to look for memory leaks when I suspect I have one, so I don't have to ask again. The two things in particular which make me suspect I have a memory leak are:
- My RAM usage climbs over a few days to 90%+ usage when idling
- My task manager, shows high % usage, but looking at the processes tab reveals that there is a lot of RAM unaccounted for, i.e. there aren't enough processes using enough memory to explain the high memory usage.
This has been a problem for me for years on several computers and after several reinstalls and I'm kind of sick of it. I've more or less accepted that it's either part of a software that I always install or just part of Windows, but after experiencing several crashes of software recently, I'd really like to get to the bottom of it.
PC config and stats with only Opera GX open and some background software:
- RAM usage / total - currently 10.8 / 16 GB. Grows to ~11-12GB about 24-48 hours after a restart. Grows to ~14GB about 72-96 hours after a restart.
- Page file - enabled, set to "Custom size" with an initial size of 1000 MB and a maximum size of 20000 MB. Currently, using about ~8100 MB.
- Task manager processes sorted by RAM usage - the highest RAM user is Opera with 2.8 GB, followed by RamMap with 600 MB and Discord with 80 MB. RAM usage keeps declining to very small numbers from there, i.e. there is lots of RAM which is reported as used but is unaccounted for by Task Manager in the Processes tab.
- RamMap - Clicking on "Empty -> Empty Working Sets" resulted in a RAM usage drop from 10.8 GB to 6.3 GB, which increased over 2 minutes to ~8.3 GB while I was writing this question.
I know there are several other questions regarding similar problems here, but I can't seem to find help in any of them, so I am asking for a reliable method of discovering the problem myself in the future so I don't have to post more questions. This could be beneficial to other users looking at this question too.
I've attached some images so you can see what's going on.
What are my next steps, where do I go from here to find the offender?