Good morning

I have upgraded a server 2008 R2 64 bit server with physical ram but I’m running out space on the system drive.

I m planing to reduce the physical ram for time being. Will it shrink the pagefile automatically?

Or shall move the pagefile onto different partition ?

Many thanks
M SkAsked:
Who is Participating?
Keep in mind that the real problem isn't the lack of space, but rather whatever is causing it. As I said earlier, a prime suspect in this scenario is the Windows update files. You will likely find that they consume tens of gigabytes of your system drive storage, and moving them to a different partition will free up far more space than any amount of tinkering with pagefiles will.

If you really must make changes to free up a little storage on the system drive to give you some breathing space, I'd suggest moving the pagefile to a partition having more room and resizing it at the same time before doing anything with the physical RAM. This will save a reboot if nothing else.

Whether you manually set the pagefile size or let Windows manage it depends on the roles that the server has. If your server is heavily loaded then you need to approach such changes with caution, particularly if it's a critical production machine. If it runs any Exchange or SQL services then be aware that these services will take all the available RAM for their own use and release it back into the pool as other processes request it; at least, that's how it's supposed to work, but sometimes it doesn't work that way at all...

My servers generally run a fixed-size pagefile that's 1.5 times the amount of physical RAM installed, but these machines lead a fairly easy life and so are more tolerant of deviations from ideal RAM availability than a highly stressed server would be.

Having lots of physical RAM is rarely a bad idea for Windows servers, so unless you need to use the RAM elsewhere I'd be inclined to leave it as it is unless you've installed a huge amount simply to try and get around this problem.
Tom CieslikIT EngineerCommented:
If you will reduce RAM amount you must go to Advance System setting, change paging file from system manage to Custom and put amount you want. After server restart you must come back and select System Managed Size again.

Windows will NOT automatically reduce your Page File size DOWN after amount of memory will be decreased.
Moving the system file onto a different partition will free up space on the system drive, but unless your pagefile is enormous it will only afford you some time to sort out the issue that is devouring the system drive space. I assume that you've already checked the temporary file folders and deleted their contents.
The other notorious hog of system disk space is the Windows update files folder, which can be cleaned up and/or moved to another partition; this is a more long-term solution to the problem.

There are numerous articles on the web that explain how to do this; the link I've posted is only one of a vast number:

Hope this helps.
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

M SkAuthor Commented:
Many thanks for your advice

My plan to decrease physical ram and move pagefile into different drive.

Shall I decrease the physical ram first and then pagefile or move pagefile first?

Or set the pagefile size manually, decrease the ram , move the pagefile.

After that set to system automatic
M SkAuthor Commented:
Many thanks Perarduaadastra

Mine is a file server and I'm decreasing physical ram to 16 to 12 GB. I have enough space on a second drive so moving onto that.

As you advice I'm going to leave it to system to handle the pagefile, not setting up manually.

Please advice is there anything else do I need to take care?

M SkAuthor Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.