PRB: Memory Leaks in SQL Srv Driver During Connect/DisconnectLast reviewed: September 9, 1996Article ID: Q132494 |
The information in this article applies to:
SYMPTOMSThe following sequence of calls:
SQLAllocEnv, SQLAllocConnect, SQLConnect (or SQLDriverConnect), SQLDisconnect, SQLFreeConnect, and SQLFreeEnvcan lead to a 4K memory leak in the following Microsoft SQL Server drivers:
CAUSESTEPS TO CHECK 32-BIT SQL SERVER DRIVER MEMORY LEAKS: Start the Process Viewer in the NT Resource Kit. Start the 32-bit ODBC Test application.
NOTE: There is no memory leakage in the 32-bit SQL Server driver 2.50.0121 that ships with SQL Server version 6.0.
WORKAROUNDShare ODBC connections as much as possible in the application.
|
Additional reference words: 2.00.1912 2.50.0121 sql6 6.00 4.21a
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |