Folks, there are many of us facing this issues, this could one of the first steps we need to check before going further for any other troubleshooting.
Note: Applicable only if the memory size of the server is more than 24 GB.
Normally this happens when pagefile configuration is more than Physical memory and total memory size is more than 24 GB, where it is taking too much time in clearing the page file due to registry configured like that
Change the registry entry as shown below
#———————————————————————————–Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]
To recreate the issue, change the value (Enable )to “ClearPageFileAtShutdown”=dword:00000001