mount error(12): Cannot allocate memoryand this error in Windows 7 event viewer:
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
System > srvModifying the Windows 7 machine's registry will fix this problem: (run > regedit)
The server was unable to allocate from the system nonpaged pool because the server reached the configured limit for nonpaged pool allocations.
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\LargeSystemCacheSet following key = '3':
HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\SizeRestart the machine. Done.