The information in this article applies to:
SYMPTOMSWhen using a Recordset that has been created by appending fields to a Recordset object (a "creatable" recordset), and when any text fields in the recordset contain more than 16K of data, a memory leak occurs when setting the value of the field. The memory leak occurs regardless of what the field's Size property has been defined to be, as long as the size of the actual data is more than 16K. CAUSEWhen the amount of data being assigned to a field value is more than 16K, the Data Conversion Library creates a scratch buffer to work with. The buffer is not released. RESOLUTIONA supported fix that corrects this problem is now available from Microsoft, but
it has not been fully regression tested and should be applied only to systems
experiencing this specific problem. If you are not severely affected by this
specific problem, Microsoft recommends that you wait for the next Microsoft Data Access Components Service Pack 3
that contains this fix. http://www.microsoft.com/support/supportnet/overview/overview.aspThe English version of this fix should have the following file attributes or later:
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed
at the beginning of this article. MORE INFORMATION
Manual Installation
Important Notice for Microsoft Windows 95 and Windows 98 UsersIf you are installing this fix onto a computer running Windows 95 or a computer with the original release of Windows 98, you may need to install the Windows 98 Migration DLL included with this fix. Please carefully read the Migrate_qfe.txt file that is included in the Migration.exe file, which is included with the download.Steps to Reproduce BehaviorTo reproduce the memory leak, copy the following code and paste it into a Visual Basic project.NOTE: Start the Performance Monitor and watch the Private Bytes counter for the process while running the code. Please note that it does not make any difference what the field's Size property has been defined to be.
Additional query words: memory leak append createable recordset more than 16 K data conversion library oledb32.dll
Keywords : kbADO kbADO210fix kbGrpVBDB kbGrpMDAC kbDSupport kbMDAC250fix kbADO250 |
Last Reviewed: January 21, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |