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

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
TriCountyITAsked:
Who is Participating?
 
PC_RobConnect With a Mentor Commented:
Hello,

You can increase the page file size without rebooting, but as far as I know you can not DECREASE it without a reboot.

It is probably Exchange causing the issue anyway.  All versions are a giant memory hog.  Try resetting your Exchange services one at a time while watching your memory usage.  See if it drops when you hit one of the services, and you will know which one it was for future reference.  It is probably the Information Store or SMTP service, but it could be any of them.

Otherwise, change the max page file size, then reboot.

Regards,

Rob
0
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
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?
0
 
TriCountyITAuthor 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.
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
PC_RobCommented:
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
0
 
SubsunCommented:
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
0
 
Deepinder SinghCommented:
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!
0
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.