skip to Main Content

Pagefile Exchange 2013/2016 best practice

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.

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

  1. Right-click on This PC and open Properties.
  2. Select Advanced System Properties.
  3. Click Advanced tab.
  4. Under Performance, click Settings.
  5. Under Performance Options, click Advanced tab.
  6. Now under Virtual memory, select Change.
  7. Uncheck Automatically manage paging file size for all drives.
  8. Select Custom size.
  9. Initial size (MB): 16394
  10. Maximum size (MB): 16394
  11. Click Set.
  12. Click three times on OK.
  13. Restart your Exchange Server 2013/2016.

Pagefile Exchange 2013/2016 best practice configure pagefile

Conclusion

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.

ALI TAJRAN

ALI TAJRAN

ALI TAJRAN is a passionate IT Architect, IT Consultant, and Microsoft Certified Trainer. He started Information Technology at a very young age, and his goal is to teach and inspire others. Connect with ALI TAJRAN on social media. Read more »

This Post Has 0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Back To Top