The paging file size should exceed the amount of physical RAM in the system (SharePoint Server) - SharePoint Server (2024)

  • Article

APPLIES TO: The paging file size should exceed the amount of physical RAM in the system (SharePoint Server) - SharePoint Server (1)2013 The paging file size should exceed the amount of physical RAM in the system (SharePoint Server) - SharePoint Server (2)2016 The paging file size should exceed the amount of physical RAM in the system (SharePoint Server) - SharePoint Server (3)2019 The paging file size should exceed the amount of physical RAM in the system (SharePoint Server) - SharePoint Server (4)Subscription Edition The paging file size should exceed the amount of physical RAM in the system (SharePoint Server) - SharePoint Server (5)SharePoint in Microsoft 365

Rule Name: The paging file size should exceed the amount of physical RAM in the system.

Summary: The paging file size on some servers in the SharePoint farm is smaller than the total physical memory that is available on the servers.

Cause: A Windows best practice is to set the paging file size to equal to or greater than the total amount of available physical memory. Garbage collection is typically more effective at automatic recovery of heap memory when managed heap size approximates paging size. When paging file size is smaller than RAM size, new allocations of managed memory are granted, which leads to more garbage collection and higher CPU usage.

Resolution: Increase the minimum size of the paging file

  1. Verify that you are a member of the Administrators group on the local computer.

  2. In the System Properties dialog, on the Advanced tab, in the Performance section, click Settings.

  3. In the Performance Options dialog, on the Advanced tab, in the Virtual memory section, click Change.

  4. In the Virtual Memory dialog, select the Automatically manage paging file size for all drives check box, or clear the check box and specify a paging file size that is equal to or greater than the physical memory that is available on the computer. We recommend that you either allow the system to manage the page file size or to set it at 150% of the size of the physical RAM.

  5. Click OK, and then restart the computer to apply the changes.

The paging file size should exceed the amount of physical RAM in the system (SharePoint Server) - SharePoint Server (2024)

FAQs

Should paging file size exceed the amount of physical RAM in the system? ›

Cause: A Windows best practice is to set the paging file size to equal to or greater than the total amount of available physical memory. Garbage collection is typically more effective at automatic recovery of heap memory when managed heap size approximates paging size.

How much should be the paging file size? ›

The Page File should be approximately 1.5 - 2 times the size of your total system memory (RAM). A computer with 4GB of RAM will need a Page File a minimum of 6GB (6144 MB) and a maximum of 8GB (8192MB).

Should I disable paging file with 32gb RAM? ›

You should never set that setting to 'No Page File' or set a manual amount either, you should always let Windows Manage your Virtual Memory, otherwise you either may not be able to boot up windows or you may experience many problems with software such as lagging.

What is the size limit for Pagefile? ›

The minimum and maximum size of the Pagefile can be up to 1.5 times and 4 times of the physical memory that your computer has, respectively. For example, if your computer has 1GB of RAM, the minimum Pagefile size can be 1.5GB, and the maximum size of the file can be 4GB.

How do I increase my RAM paging? ›

Procedure
  1. Access the System Properties settings. Go to Start > Run. Type sysdm.cpl and click OK. In the System Properties dialog box, click the Advanced tab. Under Performance, click Settings. In the Performance Options dialog box, click the Advanced tab.
  2. Adjust the virtual memory setting.
Oct 5, 2023

Should I change my paging file size? ›

The Windows Pagefile is used for virtual memory operations by the Windows kernel. Windows pagefile sizes are set during installation, and normally do not have to be changed. However, if you add memory to your system after initialization, you may need to increase the “initial pagefile size” on the primary boot drive.

How do I fix the size of a paging file? ›

Navigate to “Advanced system settings” and click on the “Settings…” button in the Performance section. In the Performance Options window, go to the Advanced tab and click on “Change…” under Virtual Memory. Uncheck “Automatically manage paging file size for all drives”. Select the system drive with the large pagefile.

What should my paging file size be 8gb RAM? ›

On computers that have 8 GB of RAM, the suggested paging file size is 16 GB.

How do I optimize paging file size? ›

In the System Properties dialog box, click the Advanced tab and click Performance Options. In the Performance Options dialog, under Virtual memory, click Change. In the Virtual memory dialog box, select a drive. Under Paging file size for selected drive, type new values for initial and maximum sizes for the disk.

What is the best paging size for 32GB RAM? ›

For systems with more RAM, you can make the paging file somewhat smaller. You could trim the paging file to 2 GB on a 16 GB system, for example, or to 3.5 GB on a 32 GB system without running into any noticeable performance problems.

What is the best paging file size for 32GB RAM? ›

  • 4 GB RAM = 8,192 MB paging.
  • 8 GB RAM = 16,384 MB paging.
  • 12 GB RAM = 24,576 MB paging.
  • 16 GB RAM = 32,768 MB paging.
  • 20 GB RAM = 40,960 MB paging.
  • 24 GB RAM = 49,152 MB paging.
  • 28 GB RAM = 57,344 MB paging.
  • 32 GB RAM = 65,536 MB paging.
May 9, 2023

Is paging file necessary for 16GB RAM? ›

Yes. You have two possibilities. One, you have plenty of RAM and you won't care if you have a page file because you won't be using it. Or two, you run out of RAM and need a page file.

What is the minimum and maximum paging file size for 8gb RAM? ›

As a rule of thumb, the paging file should be a minimum of 1.5 times the size of your installed RAM, and a maximum of 3 times your RAM size. For example, if you have 8 GB RAM, your minumum would be 1024 x 8 x 1.5 = 12,288 MB, and your maximum would be 1024 x 8 x 3 = 24,576 MB.

Why increase pagefile size? ›

But if PC runs out of RAM and starts swapping memory between RAM and disk performance will be drastically impacted, especially with HDDs. Increasing page file size makes sense when programs use lot of memory. In Windows page file size is one defining total amount of Virtual Memory available to all running programs.

What is the maximum paging file size on a 64 bit server? ›

On a 32-bit system running the normal kernel, the maximum size of each page file is 4095 MB. On x64 systems and x86 systems with the PAE kernel, the maximum page file size is 16 terabytes (16TB). On IA-64 systems, each page file can be as large as 32 terabytes.

What should pagefile size be for 16GB RAM? ›

On most Windows 10 systems with 8 GB of RAM or more, the OS manages the size of the paging file nicely. The paging file is typically 1.25 GB on 8 GB systems, 2.5 GB on 16 GB systems and 5 GB on 32 GB systems. For systems with more RAM, you can make the paging file somewhat smaller.

How much virtual memory should I set for 16GB RAM? ›

However, with advancements in technology and more efficient operating systems, this rule is not as rigid as it once was. For a system with 16GB RAM, setting the virtual memory between 24GB to 32GB is a good starting point, but adjustments might be needed based on specific use cases.

Top Articles
Latest Posts
Article information

Author: Nicola Considine CPA

Last Updated:

Views: 5932

Rating: 4.9 / 5 (69 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Nicola Considine CPA

Birthday: 1993-02-26

Address: 3809 Clinton Inlet, East Aleisha, UT 46318-2392

Phone: +2681424145499

Job: Government Technician

Hobby: Calligraphy, Lego building, Worldbuilding, Shooting, Bird watching, Shopping, Cooking

Introduction: My name is Nicola Considine CPA, I am a determined, witty, powerful, brainy, open, smiling, proud person who loves writing and wants to share my knowledge and understanding with you.