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: Cached objects have been evicted
Summary: When the memory consumption of the cache service on a cache host exceeds the low watermark threshold, objects that have already expired are evicted. When memory consumption exceeds the high watermark threshold, objects are evicted from memory, whether they have expired or not, until memory consumption returns to the low watermark. Subsequently cached objects may be rerouted to other hosts to maintain an optimal distribution of memory.
Cause: There is not sufficient memory in the cache cluster.
Resolution: Add more RAM to the server
Resolution: Increase the memory allocation of the distributed cache
securityadmin fixed server role on the SQL Server instance.
db_owner fixed database role on all databases that are to be updated.
Administrators group on the server on which you are running the Microsoft PowerShell cmdlets.
Farm Administrators group.
An administrator can use the Add-SPShellAdmin cmdlet to grant permissions to use SharePoint Server cmdlets.
Note
If you do not have permissions, contact your Setup administrator or SQL Server administrator to request permissions. For additional information about PowerShell permissions, see Add-SPShellAdmin.
Start the SharePoint Management Shell.
Check the current distributed cache settings from usage. To do this, run the following command:
Get-SPDistributedCacheClientSetting
For more information, see Get-SPDistributedCacheClientSetting
Stop the Distributed Cache service on all cache hosts in the farm. To do this, run the following command on each cache host:
Stop-SPDistributedCacheServiceInstance -Graceful
For more information, see "Perform a graceful shutdown of the Distributed Cache service" in Manage the Distributed Cache service in SharePoint Server.
To increase the cache size of the Distributed Cache service, run the following command one time only on any cache host at the PowerShell command prompt:
Update-SPDistributedCacheSize -CacheSizeInMB CacheSize
Where:
Manage the Distributed Cache service in SharePoint Server
Plan for feeds and the Distributed Cache service in SharePoint Server
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 moreTraining
Module
Caching and performance in Azure storage disks - Training
Learn about Azure VM disk performance and how to enable caching to help optimize read and write access to storage.
Documentation
Learn how to resolve the SharePoint Health Analyzer rule: The number of Distributed Cache hosts in the farm exceeds the recommended value, for SharePoint Server.