Thursday, October 27, 2011

mount error(12): Cannot allocate memory error for Samba mounted Windows shared folder

When I tried to copy some large files to the vmware openSuse Linux guest (with samba mounted shared NTFS Windows drive) running on Windows 7 laptop host, I got the following error.

"mount error(12): Cannot allocate memory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)"

I found the solution after Google search

1) Open registry editor:
2) Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\LargeSystemCache
Set the registry key to '1' (Hexadecimal)

3) Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\Size
Set the registry key to '3' (Hexadecimal)

Now go to windows services (Control Panel > All Control Panel Items > Administrative Tools ) and restart 'Server' service. (right click & restart)


No comments:

Post a Comment