PDA

View Full Version : Reversing the swap file


mike
March 21st, 2001, 15:48
I'd like to add some functionality to windows to enable swap file cleaning while Windows is active. Windows allocates a lot more swap file than it actually needs, "just in case." It would be nice to be able to clean out those portions of the swap file that are not actually in use. I'm sure I'll have to write a VxD to do it; any pointers to sites dealing with vxd's and memory management?

Carpathia
March 21st, 2001, 21:12
Best get a copy of the DDK for your platform from MSDN. Also, do a websearch for Driver Development FAQ, which provides a little useful info. You might want a to get checked build of your target platform too.

Also note that Id expect truncating the swap file to hinder performance. Windows reserves the expected amount of swap space so that it can grow efficiently (even tho potentially wasting a big chunk of disk space :- )

Regards

Carpathia

mike
March 22nd, 2001, 14:27
Didn't intend to truncate it, just overwrite the data.

Thanks

mike
March 23rd, 2001, 12:34
What's XP?

mike
March 23rd, 2001, 12:36
What's XP?

Squidge
March 23rd, 2001, 17:07
WindowsXP - Basically WindowsWhistler... I've tried lots of beta's and still not happy with it in general though - much prefer Windows2000.