More disk activity? hhmm
Sounds like memory being cleared out of the page file.
Windows handles the memory with cleanmem, when I test on my machine I opened a ton of programs and such. Ran cleanmem, 400mb where cleared and windows moved about 20 mb worth of it to the pagefile, yet after that the page file isn't touched. While under normal conditions Windows only moves about 1 to 2 mb to page file while the rest is put into the system cache (System cache is in memory and why it works so fast) and then later freed. I don't know why Windows does that, but normally the amount it does do is VERY small.
Do more tests and let me know what you see. Sounds like a small amount of memory that the programs haven't used for a while Windows moved to the page file, since the programs weren't using that memory you never noticed any slow down with the system. But when closing the program that memory is being Cleared away and so your waiting on the hard drive.
I wonder if the Windows API is working like this.
1. All memory of a process is moved to the cache (Which is still in memory and why it works so fast with no slow down)
2. The process gets all memory it is using actively back instantly.
3. Any memory not marked active is kept in the cache and then marked freed after a short period.
4. Any memory marked as needed but not active must get pushed to the page file? This would explain the small amount I see get pushed there. Depending on the program in question. This might be the way the Windows API is handling the memory, and why programs never crash when it cleans the memory up.
You never see a slow down to the system, and a LOT of people on older systems see a increase in performance because windows isn't using the page file as often since the memory is available. It seems in this case Windows is using the page file as storage and not as active memory.
This is just a thought of course, but it would answer the question to the increase in disk activity only when shutting down a program.
This isn't a bad thing at all, it just answers that question.
You will also notice that you don't get any slowdown while the programs are running.
Close the program then all its left over stuff is removed, including the unused memory in the page file.
I don't see the slow down when closing programs because my drives are pretty dang fast.
Shane