Created
September 28, 2021 20:28
-
-
Save nbdd0121/32458ea714496f13420a35141ff8428b to your computer and use it in GitHub Desktop.
"Stop" DWM from leaking memory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get-Process | Where-Object {($_.Name -eq 'dwm' -and $_.PagedMemorySize64 -gt 2147483648) -or ($_.Name -eq 'YourPhoneServer' -and $_.PagedMemorySize64 -gt 1073741824)} | ForEach-Object {$_.Kill()} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment