In Exchange, we can get mailbox permissions. That's great if you want to know which…
What is the best practice and recommend pagefile for Exchange Server 2013/2016? In this article, you will learn what the recommend pagefile is for an Exchange Server. How to calculate the pagefile and how to configure the pagefile in Exchange Server 2013/2016. It seems a lot but we make sure to make it easy for you to understand.
Table of contents
Pagefile recommend sizing
The pagefile recommendation to keep in mind:
- The pagefile should not be “System Managed”.
- The Pagefile Initial and Maximum sizes should be the same.
- The pagefile should be sized as RAM + 10MB.
- The maximum size of the pagefile should be 32778 (32GB + 10MB).
Microsoft has written the following about the pagefile:
As memory requirements have increased for Exchange, our historical guidance for sizing the pagefile has become more and more challenging from a deployment perspective. Previously, our guidance was to set a fixed pagefile size equal to the size of RAM + 10MB. On servers that are commonly deployed with 128GB of RAM or more, requiring a pagefile sized to RAM+10MB results in a large amount of space consumed (typically on the system drive) with questionable benefit. In our large-scale internal deployments, we have been running with a cap on pagefile size for quite some time, and as a result we are comfortable recommending that all of our on-premises customers follow that same guidance. Moving forward with Exchange 2013, we recommend a fixed pagefile of the smaller of RAM size + 10MB or 32,778 MB (which is 32GB + 10MB). Hopefully this will free up some needed space on your servers.
Now that we know the recommendations by Microsoft. Let’s first calculate the pagefile.
Calculating the pagefile Exchange 2013/2016
An example to make it easier for you. If you have an Exchange Server 2013/2016 with 8GB physical memory, the pagefile should be 8202MB. How did we get to that number?
First, calculate the physical memory GB to MB in binary:
8GB to MB in binary = 8192MB
Now that you have the 8192MB, add 10MB on top of that:
8192MB + 10MB = 8202MB pagefile
The maximum pagefile on the Exchange Server should be 32778 MB. What does that mean?
If you have an Exchange Server 2013/2016 with 40GB physical memory, the pagefile should be 32778MB. If you are going to setup an Exchange Server 2013/2016 with 32GB physical memory or more, configure a pagefile of 32778MB. Not more!
Configure pagefile on Exchange Server 2013/2016
We have 16GB configured as physical memory on the Exchange Server 2013/2016. This means that we need to configure 16394MB as a pagefile. First make sure that you have enough space free on your C: drive. The pagefile will take 16GB of size on your hard drive. Note: Do you like to change the pagefile by PowerShell? Read the article Pagefile Exchange 2013/2016 best practice PowerShell.
Steps to configure the pagefile
- Right-click on This PC and open Properties.
- Select Advanced System Properties.
- Click Advanced tab.
- Under Performance, click Settings.
- Under Performance Options, click Advanced tab.
- Now under Virtual memory, select Change.
- Uncheck Automatically manage paging file size for all drives.
- Select Custom size.
- Initial size (MB): 16394
- Maximum size (MB): 16394
- Click Set.
- Click three times on OK.
- Restart your Exchange Server 2013/2016.
It’s important that you have a pagefile configured on the Exchange Server 2013/2016. You did learn the recommend and best practice pagefile of Exchange Server 2013/2016. If you have not configured your pagefile, I recommend you to do. Read the blog by Microsoft if you want more information about the pagefile. Did you enjoy this article? You may also like Remove orphaned SID permissions from a mailbox. Don’t forget to follow us and share this article.