Memory Leak When WTSOpenServer() is Called (260178)



The information in this article applies to:

  • Microsoft Windows NT Server 4.0 Terminal Server Edition
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server

This article was previously published under Q260178

SYMPTOMS

Terminal Server aware applications that repeatedly open and close handles may run out of memory.

CAUSE

Calls to WTSOpenServer and WTSCloseServer cause a memory leak. Terminal Services Manager (TSADMIN.EXE) is an example of an application that uses the WTSOpenServer and WTSCloseServer API calls. The memory leak will be observed in the private bytes of that application.

RESOLUTION

Windows 2000

To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

260910 How to Obtain the Latest Windows 2000 Service Pack

Windows NT Server 4.0, Terminal Server Edition

To resolve this problem, obtain the latest service pack for Windows NT Server version 4.0, Terminal Server Edition. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

152734 How to Obtain the Latest Windows NT 4.0 Service Pack

STATUS

Windows 2000

Microsoft has confirmed that this is a problem in Windows 2000. This problem was first corrected in Windows 2000 Service Pack 1.

Windows NT Server 4.0, Terminal Server Edition

Microsoft has confirmed that this is a problem in Windows NT Server 4.0, Terminal Server Edition. This problem was first corrected in Windows NT Server version 4.0, Terminal Server Edition Service Pack 6.

Modification Type:MajorLast Reviewed:11/20/2003
Keywords:kbbug kbenv kbfix KB260178