The paging file size should exceed the amount of physical RAM in the system (SharePoint Server)
APPLIES TO: 2013 2016 2019 Subscription Edition 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
Verify that you are a member of the Administrators group on the local computer.
In the System Properties dialog, on the Advanced tab, in the Performance section, click Settings.
In the Performance Options dialog, on the Advanced tab, in the Virtual memory section, click Change.
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.
Click OK, and then restart the computer to apply the changes.