FIX: A memory leak may occur when you use the Advanced Data Tablegram persistence mechanism to persist a hierarchical recordset to a Stream object in a Microsoft Data Access Components 2.8 application (898056)
The information in this article applies to:
- Microsoft Data Access Components 2.8
SYMPTOMS In a Microsoft Data Access Components (MDAC) 2.8 application, when you use the Advanced Data
Tablegram (ADTG) persistence mechanism to persist a hierarchical recordset to a
Stream object by using the Recordset.Save method, a memory leak may occur.
Note To use the ADTG persistence mechanism, pass the adPersistADTG value as the PersistFormat parameter.CAUSE The ADTG persistence mechanism retrieves the chapters that
correspond to a hierarchical recordset. However, even when you close the Stream object to which you persisted the recordset, and then you release
this Stream object, the ADTG persistence mechanism does not release the
chapters. The ADTG persistence mechanism incorrectly releases the chapters only when you close
the recordset and then release the recordset. Therefore, the problem that is
mentioned in the "Symptoms" section may occur.RESOLUTIONA supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem. To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site: Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel. Date Time Version Size File name
---------------------------------------------------------
22-Apr-2005 22:01 2000.85.1061.0 73,728 Dbnetlib.dll
22-Apr-2005 22:02 2000.85.1061.0 28,672 Dbnmpntw.dll
22-Apr-2005 22:01 2.80.1061.0 315,392 Msadce.dll
22-Apr-2005 22:01 2.80.1061.0 135,168 Msadco.dll
22-Apr-2005 22:02 2.80.1061.0 49,152 Msadcs.dll
22-Apr-2005 22:01 2.80.1061.0 147,456 Msadds.dll
22-Apr-2005 22:01 2.80.1061.0 507,904 Msado15.dll
22-Apr-2005 22:02 2.80.1061.0 163,840 Msadomd.dll
22-Apr-2005 22:02 2.80.1061.0 184,320 Msadox.dll
22-Apr-2005 22:01 2.80.1061.0 53,248 Msadrh15.dll
22-Apr-2005 22:02 2.80.1061.0 225,280 Msdaora.dll
22-Apr-2005 22:01 2.80.1061.0 192,512 Msdaprst.dll
22-Apr-2005 22:01 2.80.1061.0 147,456 Msdart.dll
22-Apr-2005 22:01 2.80.1061.0 303,104 Msdasql.dll
22-Apr-2005 22:02 2.575.1061.0 139,264 Msorcl32.dll
22-Apr-2005 22:01 3.525.1061.0 221,184 Odbc32.dll
22-Apr-2005 22:02 2000.85.1061.0 24,576 Odbcbcp.dll
22-Apr-2005 22:01 2.80.1061.0 442,368 Oledb32.dll
22-Apr-2005 22:01 2000.85.1061.0 503,808 Sqloledb.dll
22-Apr-2005 22:01 2000.85.1061.0 401,408 Sqlsrv32.dll
22-Apr-2005 21:50 2000.85.1061.0 208,896 Sqlxmlx.dll WORKAROUND To work around this problem, close the recordset,
and then release the recordset. Do this immediately after you release the Stream object to which you persisted the recordset. For example, you can use the following code
example to close and to release a recordset that is named g_rs.
g_rs.Close
Set g_rs = Nothing STATUSMicrosoft
has confirmed that this is a problem in the Microsoft products that are listed
in the "Applies to" section.REFERENCES
For more information about this issue on
computers where Microsoft Data Access Components 2.7 is installed, click the following article number to view the article in the Microsoft Knowledge Base:
832921
FIX: Memory leak occurs when you
use the Advanced Data Tablegram persistence mechanism to persist a hierarchical
recordset to a Stream object
For more information about the terminology that is used to describe Microsoft software updates, click the following article number to view the article in the Microsoft Knowledge Base:
824684
Description of the standard terminology that is used to describe Microsoft software updates
For more information, visit the following Microsoft
Developer Network (MSDN) Web sites:
Modification Type: | Minor | Last Reviewed: | 6/1/2006 |
---|
Keywords: | kbcode kbPersistSt kbfix kbBug kbHotfixServer kbQFE KB898056 kbAudDeveloper |
---|
|