WINDOWS kbinterop kbprb The information in this article applies to:
SYMPTOMSThe following sequence of calls lead to a 4K memory leak in Microsoft Desktop Database Drivers version 3.x, 12K to 20K memory leak in 32-bit Microsoft Desktop Database Drivers version 2.x, and a 64K memory leak when 16-bit Microsoft Desktop Database Drivers are used: SQLAllocEnv, SQLAllocConnect, SQLConnect (or SQLDriverConnect), SQLDisconnect, SQLFreeConnect, and SQLFreeEnvNOTE: If you use an Access 3.x ODBC driver against an Access 2.x MDB file, the memory leak is between 12K and 20K. If you use the Access 3.x ODBC driver against an Access 7.x MDB file, the leak is 4K. WORKAROUNDShare ODBC connections as much as possible in the application. MORE INFORMATION
The 32-bit Microsoft Desktop Database Drivers include Microsoft Access,
FoxPro, dBASE, Paradox, Microsoft Excel, and text drivers. The 16-bit
Microsoft Desktop Database Drivers include Microsoft Access, Foxpro, dBASE,
Paradox, Btrieve, Microsoft Excel, and text drivers.
Steps to Check for 32-Bit ODBC Driver Memory LeaksTo determine memory leaks of the 32-bit ODBC driver, start the Process Viewer in the Windows NT Resource Kit. In addition, start the 32-bit ODBC Test application and to the following:
Additional query words: 2.00.2317 sql 6.00 windows nt pviewer
Keywords : |
Last Reviewed: August 23, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |