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.
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.!
Ideally, 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..