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)

References:
http://social.technet.microsoft.com/Forums/en-US/w7itpronetworking/thread/d8f2c741-3ad0-4839-9cb3-ff1f11e8ec1a
http://alan.lamielle.net/2009/09/03/windows-7-nonpaged-pool-srv-error-2017
http://www.decuslib.com/decus/vmslt99a/nt/tips.txt

No comments:

Post a Comment