Server 2008 R2, Windows, Windows 7
comment 1

Windows 7 CHKDSK memory consumption

Okay..there is already a lot written about this bug on the Internet. To summarize, many people have reported a memory leak behavior with Windows 7 CHKDSK utility when the /R switch is used. /R switch is used to locate bad sectors and recover readable information. Many of the blog posts also report that it is a RTM bug. So, first thing was to verify if it happens on the RC build. I am still running RC (x64) on my Studio 540S system with 4GB of RAM. I ran chkdsk against D: (500GB SATA disk) and started monitoring memory utilization. Here is what happened after a few seconds – as chkdsk entered stage 4 of it’s process.

w7As you can see, my system is still running Windows 7 RC and I am using all inbox drivers on this. So, this is not something got introduced in RTM build.

Now, I killed the chkdsk process to see if it releases the memory or not. It does, unlike others reported at various other places.

Next thing was to verify if this happens on Windows server 2008 R2 too. Again, I have R2 RC build installed and the issue appeared here too.!

w72Ideally, when a process consumes more memory for performance reasons, it should be able to release the same when other applications demand. But that is not the design here. Before commenting any further on is this a bug or not, I will examine the whole issue a bit more and then post it here. Keep watching..

Filed under: Server 2008 R2, Windows, Windows 7

by

Ravikanth is a principal engineer and the lead architect for Microsoft and VMware virtualized and hybrid cloud solutions within the Infrastructure Solutions Group at Dell EMC. He is a multi-year recipient of Microsoft Most Valuable Professional (MVP) award in Windows PowerShell (CDM) and Microsoft Azure. Ravikanth is the author of Windows PowerShell Desired State Configuration Revealed (Apress) and leads Bangalore PowerShell and Bangalore IT Pro user groups. He can be seen speaking regularly at local user group events and conferences in India and abroad.