Microsoft KB Archive/815701

= FIX: Memory leak may occur in Microsoft OLE DB Provider for Oracle when you use the REF CURSOR data type and the LONG data type =

Article ID: 815701

Article Last Modified on 11/15/2007

-

APPLIES TO


 * Microsoft Data Access Components 2.7
 * Microsoft Data Access Components 2.8

-





SYMPTOMS
When you use Microsoft OLE DB Provider for Oracle (MSDAORA) to retrieve data through the REF CURSOR data type, memory leaks may occur. The memory leaks may occur if the data that is retrieved through the REF CURSOR data type is an Oracle LONG data type.



CAUSE
The Microsoft OLE DB provider for Oracle uses special heaps to hold the REF CURSOR data type and the LONG data type. The special heaps let scrolling action occur. Additionally, the special heaps provide storage for lots of data. These special heaps are associated with each recordset that uses the REF CURSOR data type and the LONG data type. A coding error prevents these special heaps from being correctly freed when the recordset object is released and then destroyed.



RESOLUTION
A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that this article describes. Apply this hotfix only to systems that are experiencing this specific problem.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

http://go.microsoft.com/?linkid=6294451

Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

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.  MDAC 2.7

Date         Time    Version       Size      File name -- 27-Feb-2003  06:53   2.71.9031.32   221,184   Msdaora.dll  MDAC 2.8

Date         Time    Version       Size      File name -- 20-Nov-2003 19:55  2.80.1026.0       225,280  Msdaora.dll Note For a list of all the hotfixes that are available for MDAC 2.8, click the following article number to view the article in the Microsoft Knowledge Base:

839801 FIX: Hotfixes are available for MDAC 2.8



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

