Cannot Create a vDisk with Error, "The system has reached the maximum size"

  • CTX130744
  • Created onMar 26, 2014
  • Updated onApr 02, 2014
Article Topic Other

Symptoms or Error

When building a vDisk using bnimage, XenConvert or Image builder, one of the following errors might be logged:

  • Saving hive to \WINDOWS\system32\config\software...

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”.

    User-added image


Complete the following steps to fix the issue:

Caution! Refer to the Disclaimer at the end of this article before using Registry Editor.

  1.  Create a new value or modify the existing value named RegistrySizeLimit and set the value to equal the desired RSL in bytes.


    Name: RegistrySizeLimit

    Type: REG_DWORD (DWORD Value)

    Data: (0xffffffff = maximum)
    The following screen shot displays the RSL entry:

    User-added image

  2. Restart the operating system for the registry keys to take effect.

Problem Cause

The behavior occurs because the Registry Size Limit (RSL) has been reached.
Registry data is stored in the paged pool, an area of physical memory used for system data that can be written to disk when not in use. The RegistrySizeLimit value establishes the maximum amount of paged pool that can be consumed by registry data from all applications. This value is located in the following registry key:


By 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\ MemoryManagement

As per, the RSL has been removed from Windows XP and later but is applicable for backward compatibility with some applications.


Caution! Using Registry Editor incorrectly can cause serious problems that might require you to reinstall your operating system. Citrix cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. Be sure to back up the registry before you edit it.

Automatic translation

Important: This article was translated by an automatic translation system (also referred to as Machine Translation, or MT) and has not been translated or reviewed by people. Citrix offers a machine translated version of this article to allow for greater access to the support content. However, automatic translation is not always perfect and may contain errors of vocabulary, syntax or grammar. Citrix is not responsible for inconsistencies, errors or damage incurred as a result of the use of MT articles from our customers.Thank you.
Click here to see the English version of this article.
Was this helpful?
Thank you for your feedback

Share your comments or find out more about this topic

Citrix Forums