Registry Element Size Limits
The following table identifies the size limits for the various registry elements.
| Registry Element | Size Limit |
|---|---|
| Key name | 255 characters |
| Value name | 16,383 characters
|
| Value | Available memory (latest format) 1 MB (standard format) |
| Tree | A registry tree can be 512 levels deep. You can create up to 32 levels at a time through a single registry API call. |
Long values (more than 2,048 bytes) should be stored in a file, and the location of the file should be stored in the registry. This helps the registry perform efficiently.
The file location can be the name of a value or the data of a value. Each backslash in the location string must be preceded by another backslash as an escape character. For example, specify "C:\\mydir\\myfile" to store the string "C:\mydir\myfile". A file location can also be the name of a key if it is within the 255-character limit for key names and does not contain backslashes, which are not allowed in key names.
Send comments about this topic to Microsoft
Build date: 3/6/2012
Source: Microsoft-Windows-Diagnostics-Performance
Date: 16/8/2554 8:46:54
Event ID: 303
Task Category: Standby Performance Monitoring
Level: Warning
Keywords: Event Log
User: LOCAL SERVICE
Computer: 522-PC
Description:
This service caused a delay during hybrid-sleep:
File Name : SDRSVC
Friendly Name : Microsoft® Windows Backup Service
Version : 6.1.7600.16385 (win7_rtm.090713-1255)
Total Time : 1641ms
Degradation Time : 641ms
Incident Time (UTC) : 2554-08-16T01:46:04.595145000Z
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-Diagnostics-Performance" Guid="{CFC18EC0-96B1-4EBA-961B-622CAEE05B0A}" />
<EventID>303</EventID>
<Version>1</Version>
<Level>3</Level>
<Task>4003</Task>
<Opcode>35</Opcode>
<Keywords>0x8000000000010000</Keywords>
<TimeCreated SystemTime="2011-08-16T01:46:54.254811800Z" />
<EventRecordID>262</EventRecordID>
<Correlation ActivityID="{00000000-18C4-0000-7168-5494AC5BCC01}" />
<Execution ProcessID="1484" ThreadID="4984" />
<Channel>Microsoft-Windows-Diagnostics-Performance/Operational</Channel>
<Computer>522-PC</Computer>
<Security UserID="S-1-5-19" />
</System>
<EventData>
<Data Name="StartTime">2011-08-16T01:46:04.595145000Z</Data>
<Data Name="NameLength">7</Data>
<Data Name="Name">SDRSVC</Data>
<Data Name="FriendlyNameLength">34</Data>
<Data Name="FriendlyName">Microsoft® Windows Backup Service</Data>
<Data Name="VersionLength">38</Data>
<Data Name="Version">6.1.7600.16385 (win7_rtm.090713-1255)</Data>
<Data Name="TotalTime">1641</Data>
<Data Name="DegradationTime">641</Data>
<Data Name="PathLength">31</Data>
<Data Name="Path">C:\Windows\System32\SDRSVC.dll</Data>
<Data Name="ProductNameLength">37</Data>
<Data Name="ProductName">Microsoft® Windows® Operating System</Data>
<Data Name="CompanyNameLength">22</Data>
<Data Name="CompanyName">Microsoft Corporation</Data>
</EventData>
</Event>
- 11/25/2009
- Carol Buchmiller - MSFT
- 8/16/2011
- 17021899
- 8/16/2011
- 17021899