Fix for mount error(12): Cannot allocate memory
【situation】
1.windows下创建共享文件,使用mount命令挂载到linux系统。
2.在linux上访问该共享时出现error如下:
mount error(12): Cannot allocate memory
【solution】
1.打开注册表;
2.定位到HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management,修改 LargeSystemCache 值为1(hex);
3.定位到HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters,修改 Size 值为3(hex);
4.重启电脑,重新mount;
5.error fixed;