in reply to How do you clear Win32 caches (disk/memory)
I was however able to figure out a way to clear the windows memory cache from a script. There are some freeware tools that can do this, but they are windows apps with no (useful) command line interface. The one I used was CacheSet from Sysinternals. Then I wrote a little wrapper module that calls this using Win32::GuiTest. Kinda kludgy, but it got the job done.
At least I learned a new Perl Module.
--DrWhy
"If God had meant for us to think for ourselves he would have given us brains. Oh, wait..."
|
|---|