如题,我在win7系统下共享目录,mount到linux下,进行编译或者某些操作,出现Cannot allocate memory提示。

修改以下两个键值,然后重启server服务,可以解决这个问题:

打开注册表 regedit

(1)如果这个键值没有,则创建:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\LargeSystemCache  为 “1″.

键值类型为DWORD

 

(2)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\Size 为 “3″.

(3)services.msc,找到server服务,停止然后启动,即可生效。当然你重启机器也可以。

 

相关文章:

  • 2022-12-23
  • 2021-08-28
  • 2021-10-29
  • 2022-12-23
  • 2022-12-23
  • 2021-10-25
  • 2021-05-09
  • 2021-10-20
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-13
  • 2022-12-23
  • 2022-12-23
  • 2021-12-19
相关资源
相似解决方案