Поділитися через


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

APPLIES TO: yes-img-132013 yes-img-162016 yes-img-192019 yes-img-seSubscription Edition no-img-sopSharePoint 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.