To overcome the Samaba mount error
mount error(12): Cannot allocate memory<
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
on CentOS connected to Windows 7 one can restart the Server
service. This only provides a temporary fix. Also, the memory error can occur in the middle of a large file transfer. A more permanent fix is to make the following registry modifications.
Run RegEdit.exe;
Navigate to
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
Set LargeSystemCache key to 1
Navigate to
HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters
Set Size to 3
Restart the Server
service.
Leave a comment
Comments feed for this article