How do I recover space allocated for page file?

Associate
Joined
15 Nov 2011
Posts
901
Location
Stafford
Recently disabled page file and restarted but win7 (64bit HP) created a temporary page file on my system drive (C:) of about 16GB in size leaving me with less than 1GB free space. I have tried the following:

1) enabled a 4GB page file on my E: drive and disabled paging on C: - restarted and the system shows that there is no page file on C: and 4GB on E: but I still have less than 1GB space on C: as if the temp page file is still there so...

2) enabled system managed page file on C: and got prompted if I want to overwrite the existing page file (so even though system reports no page file on C: it found one when i enabled it) so I clicked yes to overwrite - restarted then disabled page file on C: still leaving page file on E: - restarted again and I am back to square one:

System reports no page file on C: and 4GB page file on E: however the C: drive has still not freed up the space taken originally by the temp page file and has less than 1GB space remaining!

Anyone know how I can delete this temporary page file from C: please? :confused:
 
Have you tried Disk Cleanup after setting the pagefile to E? What about if you shrink the pagefile?

Personally I would just leave the pagefile on the C drive, today's SSDs are fine with pagefiles. Just shrink it to something like 1gb or so.
 
Weird, disk cleanup worked but only after restarting afterwards, rebooted to find page file 4GB on E: which i had set and the space recovered from the temp page file on C: but with a new page file now on C: of 274MB and now the volume label for C: is blank :confused:

Have you tried Disk Cleanup after setting the pagefile to E? What about if you shrink the pagefile?

Personally I would just leave the pagefile on the C drive, today's SSDs are fine with pagefiles. Just shrink it to something like 1gb or so.

Drive E: is an ssd too, I was trying to free up space on the raid0 ssd's for more games, wish i had just uninstalled a game or two now rather than this, lol :D

Thanks for the replies :)
 
Back
Top Bottom