Multiple Entries in the Same Host in Zone File Cause Memory Leak in Dnsadmin.exe

This article was previously published under Q182713
This article has been archived. It is offered "as is" and will no longer be updated.
IMPORTANT: This article contains information about editing the registry.Before you edit the registry, make sure you understand how to restore itif a problem occurs. For information on how to do this, view the"Restoring the Registry" online Help topic in Regedit.exe or the"Restoring a Registry Key" online Help topic in Regedt32.exe.
When a zone file contains a large number (approximately 100) of "A"records for a single host name (each one mapped to a different IPaddress), the user interface appears to stop responding (hang) whentrying to display the zone information.

During this time, the amount of memory used by Dnsadmin.exe progressivelyincreases until such time as the system displays a dialog box saying thatthe system is running low on virtual memory and instructing the user toincrease the size of the paging file.

Several minutes later, the system displays another dialog box, this onestating that there is not enough memory to get all the records. An "out ofmemory" message is also displayed in the lower right hand corner of DNSManager, followed by another message stating that the system is running lowon virtual memory.
The DNS Admin tool hangs when there are a lot of records for a particularnode because it is running out of the RPC buffer space.
To resolve this problem, edit the registry to increase the default RPCBuffer size for the DNS Admin:

WARNING: Using Registry Editor incorrectly can cause serious problems thatmay require you to reinstall your operating system. Microsoft cannotguarantee that problems resulting from the incorrect use of RegistryEditor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the "Changing KeysAnd Values" online Help topic in Registry Editor (Regedit.exe) or the "Addand Delete Information in the Registry" and "Edit Registry Data" onlineHelp topics in Regedt32.exe. Note that you should back up the registrybefore you edit it.

  1. Run Registry Editor (Regedt32.exe).
  2. Go to the following key:
    HKEY_LOCAL_MACHINE\Software\Microsoft\DNS Administrat
  3. On the Edit menu, click Add Value and use the following entry:
    Value Name: RpcBufferAlloc Data Type: REG_Dword Value: 0-FFFFFFFF Default: 800(2048)

    Description: This parameter determines the Size of the RPC Buffer Allocation used by the DNS Administrator.
  4. Repeat steps 2 and 3 for the following key:
    HKEY_CURRENT_USER\Software\Microsoft\DNS Administrat
  5. Increase the value of RpcBufferAlloc from 2048 to 16384.
  6. Close Registry Editor.
Microsoft is researching this problem and will post new information herein the Microsoft Knowledge Base as it becomes available.
DNSAdmin ZONE Data

Article ID: 182713 - Last Review: 10/07/2013 21:07:05 - Revision: 1.1

  • Microsoft Windows NT Workstation 4.0 Developer Edition
  • Microsoft Windows NT Server 4.0 Standard Edition
  • kbnosurvey kbarchive kbbug kbnofix KB182713