DDEML: Memory Leak in Global Shared Memory

This article was previously published under Q170626
This article has been archived. It is offered "as is" and will no longer be updated.
SYMPTOMS
A DDEML client performing frequent Connect/Advise operations alternatingwith frequent Unadvise/Disconnects on the same server, topic, or item maycause the server to leak globally shared memory. The leakage will progressuntil there will be insufficient resources to run any applications besidesthe server. At this point, the server must be closed to free up memory.
CAUSE
When the client DDEML window is destroyed by a call to DdeDisconnect, thereare still posted messages in the queue to this window, causing this leak.
RESOLUTION
To resolve this problem, obtain the latest service pack for Windows NT 4.0 or Windows NT Server 4.0, Terminal Server Edition. For additional information, click the following article number to view the article in theMicrosoft Knowledge Base:
152734 How to Obtain the Latest Windows NT 4.0 Service Pack

STATUS
Microsoft has confirmed that this is a problem in Windows NT 4.0 and Windows NT Server 4.0, Terminal Server Edition. This problem was first corrected in Windows NT 4.0 Service Pack 4.0 and Windows NT Server 4.0, Terminal Server Edition Service Pack 4.
Properties

Article ID: 170626 - Last Review: 10/07/2013 04:01:27 - Revision: 2.1

  • Microsoft Windows NT Server 4.0, Terminal Server Edition
  • Microsoft Windows NT Workstation 4.0 Developer Edition
  • Microsoft Windows NT Server 4.0 Standard Edition
  • kbnosurvey kbarchive kbbug kbfix KB170626
Feedback