您的位置:首页 > 其它

Mount共享无法分配内存(Cannot allocate memory)

2015-05-18 18:38 495 查看
原文:http://jlcoady.net/windows/how-to-resolve-mount-error12-cannot-allocate-memory-windows-share

在CentOS上mount Windows的共享,用着用着出现一个无法分配内存的错误[ Cannot allocate memory ],就不能使用了,几经查询,尝试了两个方案:

1. http://linux.derkeiler.com/Newsgroups/comp.os.linux.networking/2006-10/msg00629.html
修改:HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLanmanServer

ParametersIRPStackSize DWORD 为 15->18

重启后,重新mount还发现同样问题。

2. http://jlcoady.net/windows/how-to-resolve-mount-error12-cannot-allocate-memory-windows-share 解决了问题,且不用重启。

设置:“HKLMSYSTEMCurrentControlSetControlSession ManagerMemory ManagementLargeSystemCache” 为 “1″. DWORD

设置:“HKLMSYSTEMCurrentControlSetServicesLanmanServerParametersSize” 为 “3″.

重启: Server 服务即可。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐