Hello
Thank you for posting in Microsoft Community forum.
Addressing memory leaks in Windows Server 2019 can be a complex issue, but there are several steps you can take to troubleshoot and potentially resolve the problem without rebooting the server each time.
- Identify the Cause of Memory Leaks:
- Utilize tools like Windows Performance Recorder (WPR) and Windows Performance Analyzer (WPA) to capture and analyze memory usage over time. This can help identify which processes or drivers are causing the memory leak.
- Consider using the
RAMMap
tool from Sysinternals to get a detailed view of how different types of memory are being used on the system.
- Apply Updates and Patches:
- Ensure that your servers are up-to-date with the latest patches and updates from Microsoft, as these may contain fixes for known memory leak issues.
- Adjust System Configuration:
- If the memory leak is related to the paged pool, you can try adjusting the paged pool size limit. The
SystemPtesLimit
setting in the registry can be used to set the maximum size of specific memory pools to limit their growth. - For non-paged pool memory leaks, you might need to investigate kernel-mode drivers that could be improperly allocating memory.
- Use Workarounds:
- If a specific update is known to cause memory leaks, such as the LSASS memory leak issue, you can use the Known Issue Rollback (KIR) feature to mitigate the problem until a permanent fix is available.
- Monitor System Performance:
- Regularly monitor the system's performance counters for paged and non-paged pool usage to detect any abnormal behavior early on.
Best Regards,
Wesley Li