原文: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 服务即可。
在CentOS上mount Windows的共享,用着用着出现一个无法分配内存的错误[ Cannot allocate memory ],就不能使用了,几经查询,尝试了两个方案:
修改: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 服务即可。

本文介绍了解决CentOS系统中挂载Windows共享时出现的内存分配错误问题。通过调整系统注册表设置,如LargeSystemCache和LanmanServer Parameters Size,可以有效解决该问题,并恢复正常的数据共享功能。
&spm=1001.2101.3001.5002&articleId=45825659&d=1&t=3&u=22ed6cfda68b449eb2a343d0df614017)
3613

被折叠的 条评论
为什么被折叠?



