Share via

The Current server is running low on memory.

Tevon 35 Reputation points
2023-04-18T16:08:37.4666667+00:00
  1. How can I free up memory without causing issues with my SharePoint sites or server?
  2. How can I avoid this in the future? User's image
Microsoft 365 and Office | SharePoint Server | For business
Microsoft 365 and Office | SharePoint | For business | Windows
0 comments No comments

Answer accepted by question author

Xyza Xue_MSFT 30,256 Reputation points Microsoft External Staff
2023-04-19T02:15:38.7566667+00:00

Hi @Tevon ,

The Distributed Cache (DC) uses 10% of the total physical memory on the server: the Distributed Cache service uses half of that memory allocation for data storage (also known as cache size) and the other half of that memory allocation is used 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. Here are steps:

1.First of all check the existing memory allocation for the Distributed Cache service on a server by executing the following cmdlets at an administrative PowerShell:

Use-CacheCluster 
Get-AFCacheHostConfiguration -ComputerName ComputerName -CachePort "22233"

2.To reconfigure the cache size of the Distributed Cache service.

Update-SPDistributedCacheSize -CacheSizeInMB CacheSize

3.Restart the Distributed Cache service on all cache hosts. For more detail information, please refer to: The current server is running low on memory

Avoid this in the future: I suggest you to use Resource Monitor to check the memory usage in your system and understand if there are processes who are using a huge amount of memory. If you find that a process is taking up too much memory and you don't need to use it, you can disable the service.


If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

Was this answer helpful?


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.