Events
Microsoft 365 Community Conference
May 6, 2 PM - May 9, 12 AM
Skill up for the era of AI at the ultimate community-led Microsoft 365 event, May 6-8 in Las Vegas.
Learn moreThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
APPLIES TO: 2013
2016
2019
Subscription Edition
SharePoint in Microsoft 365
Rule Name: The current server is running low on memory.
Summary: This rule only runs on servers that host the Distributed Cache service. The rule checks to see if the memory usage exceeds the predefined threshold on a server that hosts the Distributed Cache service. If it finds the total memory usage of the server is 85% or higher it then triggers an alert.
Cause: SharePoint Server assigns 10 percent of the total physical memory on the server to the Distributed Cache service. The Distributed Cache service uses half of that memory for data storage and the other half for memory management overhead. When the cached data grows, the Distributed Cache service uses the entire 10 percent of the allocated memory.
Resolution: Check memory usage on the server and free more memory, add more RAM to the server, increase the Distributed Cache service memory allocation
Verify that the user account that is performing this procedure is a member of the Farm Administrators group.
Check memory usage on SharePoint Server by using Resource Manager.
Add more RAM to the server.
Increase the memory allocation of the Distributed Cache service:
Note
When you add physical memory to the server, the Distributed Cache service doesn't automatically recalculate the 10% memory allocation. So you need to manually increase the Distributed Cache service memory allocation.
Determine the total physical memory on the server that hosts the Distributed Cache service. For example if there is 16 GB of RAM available on the server, you reserve 2 GB of memory for other processes and services that run on the cache host. So 16 GB - 2 GB = 14 GB. This remaining memory is allocated to the Distributed Cache service..
Take half of the remaining memory and convert it to MB. for example, 14 GB/2 = 7 GB or 7168 MB. This is the cache size of the Distributed Cache service.
Use the following procedure to update the memory allocation accordingly.
Change the memory allocation of the Distributed Cache
Use-CacheCluster
Get-AFCacheHostConfiguration -ComputerName ComputerName -CachePort "22233"
Where ComputerName is the computer name of the server that you are running the SharePoint Management Shell cmdlet on.
Update-SPDistributedCacheSize -CacheSizeInMB CacheSize
Where CacheSize is the cache size's memory allocation assignment in MB. In the previous example, the cache size was calculated at 7168 MB for a server with 16 GB of total memory.
Events
Microsoft 365 Community Conference
May 6, 2 PM - May 9, 12 AM
Skill up for the era of AI at the ultimate community-led Microsoft 365 event, May 6-8 in Las Vegas.
Learn more