点滴生活

Windows10 内存泄漏

2022-11-27

之前遇到win10开机idle一段时间后, 内存噌噌的往上彪, 16G内存基本什么东西没开就90%多。查了网上的一些解决方案:

方法1. 关闭Ndu服务

  • sc config Ndu start=disabled

  • HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Ndu # 将Start的值改为4, Ndu服务就变为disabled-

方法2. (推荐)

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\TimeBroker]
"Start"=dword:00000003

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SysMain]
"DisplayName"="Superfetch"
"Start"=dword:00000003

默认值:

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SysMain
DispalyName ==> @%SystemRoot%\system32\sysmain.dll,-1000
Start ==> 2

#
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\TimeBrokerSvc
Start ==> 3

#
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Ndu
Start ==> 2