关闭Windows10系统的内存压缩
方法如下:
开始菜单右键选择“windows powershell(管理员)”输入以下命令可以对内存压缩进行操作
查看状态
查看当前状态:Get-mmagent
默认应该输出:
PS C:\windows\system32> Get-mmagent ApplicationLaunchPrefetching : True ApplicationPreLaunch : True MaxOperationAPIFiles : 256 MemoryCompression : True #这里是True,意味着系统会将内存压缩 OperationAPI : True PageCombining : False PSComputerName : |
关闭压缩
关闭内存压缩:Disable-MMAgent -mc
重启生效
将其关闭后应该会是这样的输出
PS C:\windows\system32> Get-mmagent ApplicationLaunchPrefetching : True ApplicationPreLaunch : True MaxOperationAPIFiles : 256 MemoryCompression : False OperationAPI : True PageCombining : False PSComputerName : |
开启/还原内存压缩
开启内存压缩:Enable-MMAgent -mc
重启还原
摘自:https://aibofan.com/guan-bi-windows-xi-tong-zhong-de-nei-cun-ya-suo/
共有 0 条评论