When building a vDisk using bnimage, XenConvert or Image builder, one of the following errors might be logged:
Failed to save registry key to file \\WINDOWS\system32\config\software. “Insufficient system resources exist to complete the requested service.”
“The system has reached the maximum size allowed for the system part of the registry. Additional storage requests will be ignored”.
Caution! Refer to the Disclaimer at the end of this article before using Registry Editor.
Type: REG_DWORD (DWORD Value)
Data: (0xffffffff = maximum)
The following screen shot displays the RSL entry:
Restart the operating system for the registry keys to take effect.
HKLM\System\CurrentControlSet\ControlBy default, the registry size limit is 25 percent of the paged pool.
Note: The default size of the paged pool is 32 MB, so this is 8 MB.The system ensures that the minimum value of RegistrySizeLimit is 4 MB and the maximum is approximately 80 percent of the PagedPoolSize value. If the value of this entry is greater than 80 percent of the size of the paged pool, the system sets the maximum size of the registry to 80 percent of the size of the paged pool. This prevents the registry from consuming space needed by the processes.
Note: Setting this value does not allocate space in the paged pool, nor does it assure that the space would be available if needed.The paged pool size is determined by the PagedPoolSize value in the following registry key:
HKLM\System\CurrentControlSet\Control\SessionManager\ MemoryManagementAs per http://support.microsoft.com/kb/300510, the RSL has been removed from Windows XP and later but is applicable for backward compatibility with some applications.