Home HomeXLimits - Hauptseite


Limitationen der Windows Registry

Inhaltsübersicht

Allgemeines über Limitationen der Windows Registry

Maximale Grösse eines Registry-Schlüssels

Maximale Anzahl registrierbarer ActiveX-Controls

Registry-Grössenbeschränkung in Windows XP aufgehoben

Grösse der Windows Registry


Allgemeines über Limitationen der Windows Registry

Die Windows Registry kennt ein paar wenige Limitationen, die hier kurz vorgestellt werden.

To Top

 


Maximale Grösse eines Registry-Schlüssels

Ein Registry-Schlüssel kann nicht grösser als 64 KB in Windows 95 betragen (Anmerkung des Autors: Die Limitationen für andere Windows-Version sind mir nicht bekannt).

To Top

 


Maximale Anzahl registrierbarer ActiveX-Controls

In Bezug auf Excel darf nur eine bestimmte maximale Anzahl ActiveX-Controls in der Registry eingetragen sein (Anmerkung des Autors: Leider ist mir die exakte Limitation nicht bekannt). Wenn Sie in Excel 2002 ein Objekt einfügen (über Menübefehl Einfügen/Objekt), so kann es passieren, dass Excel mit der Fehlermeldung

  "The instruction at address references memory at address. The memory could not be written."

abstürzt, wobei address ein Hex-Wert wie 0x01D3C839 oder ähnlich darstellt. Wenn Sie auf OK klicken, wird Excel beendet.

Dieser Fehler tritt auf, weil Excel den HKEY_CLASSES_ROOT-Schlüssel durchnummeriert, um eine Liste aller verfügbaren Controls zu erhalten. Die maximale Anzahl registrierter Objekte ist für Excel jedoch zu hoch.

Dieses Problem kann mit dem neuesten Office XP Service Pack behoben werden (die korrigierte Excel.exe-Datei der englischen Version besitzt die Versionsnummer 10.0.3416.0).

To Top

 


Registry-Grössenbeschränkung in Windows XP aufgehoben

In Windows XP, the Registry Size Limit (RSL) functionality has been removed. Therefore, there are no longer any limits on the total amount of space that may be consumed by registry data (hives) in paged pool memory, and in disk space.

In Windows XP, there is no longer a limit to the registry based on paged pool. Views of the registry files are now mapped in the computer cache address space. Therefore, regardless of the size of the hive, it is not charged for more than 4 megabytes (MB) of space.

To Top

 


Grösse der Windows-Registry

By default, RSL is 25 percent of the size of paged pool. Setting up the size of paged pool (see PagedPoolSize value of the Registry key HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Memory Management) also affects the size of RSL.

You can also manually set the RSL:

  1. Run the Registry Editor (REGEDT32.EXE).
  2. Locate the key HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control.
  3. Modify the value RegistrySizeLimit (create it first it if it does not already exist) to reflect the desired size, in terms of bytes.

    NOTE: RegistrySizeLimit must have a type of REG_DWORD, and a data length of 4 bytes, or it is ignored. If you set the value RegistrySizeLimit to less than 4 megabytes (MB), it is forced up to 4 MB. If you set it to greater than about 80 percent of the size of paged pool, it is set down to 80 percent of the size of paged pool (it is assumed that paged pool is always more than 5 MB). If you set it to 0xffffffff the maximum size allowable (or 80 percent of paged pool, up to 102 MB) is set.
  4. Shut down and restart Windows NT for changes in RSL to take effect.


In Windows NT 4.0, and Windows NT 4.0, Terminal Server Edition, the maximum paged pool size is 192 MB, so RSL can be a maximum of 153.6 MB. For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

In Windows 2000, the maximum paged pool size is approximately 370-400 MB, when you do not use the /3gb command-line switch (this makes the RSL greater than 296 MB). If you use the /3gb switch, these values remain unchanged from Windows NT 4.0. For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

To Top

 


Weitere Informationen

WinXP: Registry Size Limit Has Been Removed From Windows XP
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q292726

WinNT/Win2000: Understanding and Configuring Registry Size Limit (RSL)
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q124594

To Top


Haben Sie Fragen, Anregungen oder einen Fehler entdeckt?
Kontakt zum Autor

Zuletzt aktualisiert am 23.07.2004 / 23:15 Uhr
Zuletzt kontrolliert am 22.12.2008 / 07:00 Uhr
© 2002-2009 by Philipp von Wartburg, Schweiz
Alle Rechte vorbehalten