Microsoft KB Archive/936927

= When you run a program that writes events to an event log in Windows Server 2003, the program process may leak memory =

Article ID: 936927

Article Last Modified on 6/4/2007

-

APPLIES TO


 * Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
 * Microsoft Windows Server 2003, Standard Edition (32-bit x86)
 * Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
 * Microsoft Windows Server 2003, Web Edition

-



SYMPTOMS
When you run a program that writes events to an event log in Microsoft Windows Server 2003, the program process and the Services.exe process may leak memory. The memory leak stops when you exit the program.

Additionally, if you cannot restart the program, the computer may run out of memory. In this case, the computer stops responding.



CAUSE
This issue occurs if a process that calls the RegisterEventSource function does not have necessary permissions for the event log.



RESOLUTION
To resolve this issue, make sure that the process that is calling the RegisterEventSource function has the necessary permissions for the event log. For more information about how to set permissions for event logs, click the following article number to view the article in the Microsoft Knowledge Base:

323076 How to set event log security locally or by using Group Policy in Windows Server 2003

Keywords: kbtshoot kbexpertiseadvanced kbprb KB936927

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.