We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

Can you make the page file in server 2003 smaller without restarting?

Medium Priority
2,373 Views
Last Modified: 2016-10-25
I have a page file that is usually around 5 gigs but all the sudden jumped to 9 gigs.  Is there a way to see what is going on inside the page file and sort of flush some stuff like it would to when you reboot.  This is my exchange server and I dont want to reboot, but I want to try to make the page file smaller.  Any ideas?  Thanks
Comment
Watch Question

Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Lee W, MVPTechnology and Business Process Advisor
CERTIFIED EXPERT
Most Valuable Expert 2013

Commented:
You cannot decrease the size of the page file without rebooting.

Common practice is to set the pagefile to the same min and max values to prevent growth - but to set those values HIGH.

Why is 4 GB a major concern that can't wait until the next reboot on an exchange server?

Author

Commented:
I guess its not so much that it cant wait, I just didnt know if there was a memory leak or something.  It never went passed 5 gigs and all at once it just jumped.

Commented:
Exchange is a giant bloated beast that consumes every resource it can find.  Sometimes its processes grab extra memory when they get overworked, or have been running too long without a reset, or for an infinite number of other reasons.

The best way to restore resources to their optimal status is to reset the Exchange services, or reboot the server.  Every Windows system on the planet has the same issue to some extent, Exchange or not.

Regards,

Rob
Subash SundharanIT Infrastructure Architect
CERTIFIED EXPERT

Commented:
I agree with leew..
In case if you want to look at some details regarding page File Performance Issue..
http://technet.microsoft.com/en-us/library/aa998178.aspx
http://technet.microsoft.com/en-us/library/bb124129(EXCHG.65).aspx
Is there a way to increase the page file without a reboot from commandline?

I need to increase the pagefile size on a system using a command line on the fly. There are 2 options using which I can set it:

wmic pagefileset where name="C:\pagefile.sys" set InitialSize=1450,MaximumSize=1450 OR
REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" /v PagingFiles /t REG_MULTI_SZ /d "D:\pagefile.sys " /f
Both the above mentioned methods work and show the changes in the registry. However, it does not change the actual size of the pagefile on the disk until a restart. Nor does it show the updated value when checking using "Get-CimInstance Win32_PageFileUsage | fl *" command.

Ideally, an increase in the page file size from the GUI does not need a reboot, when click on "Set" option.

Is there a way to refresh the pagefile size after it has been increased in the registry, without rebooting the system?

Any help will be highly appreciated!
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.