I have had a few users contact me about getting errors when mounting a share from Windows 7 with Mount Manager. This error was some type of “out of memory” error.
When you try to mount you see the following error:
mount error(12): Cannot allocate memory
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
The error reports the following in Event Viewer:
Source: srv
Event ID: 2017
Level: Error
The server was unable to allocate from the system nonpaged pool because the server reached the configured limit for nonpaged pool allocations.
One user, after much research, found the solution. According to an article he found, you need to tell windows that it will be used as a file server and that it should allocate the memory that it needs to do so.
To do this, you have to set the following value in the registry to ‘1’.
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\LargeSystemCache
Also you have to set the following value in the registry to ‘3’.
HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\Size
No comments:
Post a Comment