cifs mount error(12): Cannot allocate memory
I had some issues when I started to use autofs to mount windows shared from linux. The shares would go missing from linux and result in this kind of error:
mount error(12): Cannot allocate memory
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
To fix this, I used the advice from here:
Set the following registry key to ’1′:
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\LargeSystemCache
and set the following registry key to ’3′:
HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\Size
Then just restart.
Comments (0)
Trackbacks (0)
Leave a comment
Trackback