DOCUMENT:Q141211 25-MAR-2002 [win95x] TITLE :Memory Leak with Multithreaded Winsock Programs PRODUCT :Microsoft Windows 95.x Retail Product PROD/VER:: OPER/SYS: KEYWORDS:kbnetwork win95 kbAPI kbSDKPlatform kbWinsock kbGrpDSNetkbfixlist ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft Windows 95 ------------------------------------------------------------------------------- SYMPTOMS ======== When you run a 32-bit Windows Sockets program that opens and closes multiple threads in Windows 95, memory is gradually consumed. Observable symptoms of this "memory leak" may include a swap file growing very large while the program is running, page faults as Windows 95 tries to keep up with the growing swap file, and an eventual system halt when all memory is consumed. RESOLUTION ========== STATUS ====== This problem no longer occurs in Windows 98. To resolve this problem, install the current version of Windows. For information about the current version of Windows, visit http://www.microsoft.com/windows. Additional query words: crash ====================================================================== Keywords : kbnetwork win95 kbAPI kbSDKPlatform kbWinsock kbGrpDSNet kbfixlist Technology : kbWin95search kbZNotKeyword3 Version : : Issue type : kbprb ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 2002.