Top
Systemwalker Service Quality Coordinator User's Guide (Console Edition)
Systemwalker

6.1.1 How to Increase the Size of the Desktop Heap

Note

Making errors in editing the registry can lead to problems such as Windows not starting. Be very careful while editing the registry.

Changing the desktop heap affects the entire system, therefore make sure that there are no system operation problems after the change.

  1. Start the registry editor. (REGEDT32.EXE)

  2. Display the following key from the HKEY_LOCAL_MACHINE sub-tree.

    \System\CurrentControlSet\Control\Session Manager\SubSystems


  3. Modify the SharedSection parameter settings in the Windows values.

    Increase the third value (shown in red in the example below) in multiples of 200 Ks to somewhere under following numbers.

    For Windows Server 2008/Windows Vista and later

    Up to 20480.

    For Windows Server 2003/Windows XP

    Up to 2048.

    Depending on the system, an error message (such as "abnormal program termination") may be displayed when the Console is started if the value specified is too large, and the window may not open. In this case, adjust the specified value within the range indicated.

    Depending on the system, there may be three or four values separated by commas. In both cases, increase the third value.

    [Before]

    %SystemRoot%\system32\csrss.exe ObjectDirectory=\Windows
    SharedSection=1024,3072,512 Windows=On
    SubSystemType=Windows ServerDll=basesrv,1
    ServerDll=winsrv:UserServerDllInitialization,3
    ServerDll=winsrv:ConServerDllInitialization,2 ProfileControl=Off
    MaxRequestThreads=16

    [After]

    %SystemRoot%\system32\csrss.exe ObjectDirectory=\Windows
    SharedSection=1024,3072,1024 Windows=On
    SubSystemType=Windows ServerDll=basesrv,1
    ServerDll=winsrv:UserServerDllInitialization,3
    ServerDll=winsrv:ConServerDllInitialization,2 ProfileControl=Off
    MaxRequestThreads=16


  4. Restart the system.