Article ID: 815701 - Last Review: November 15, 2007 - Revision: 4.2

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

Hotfix download is availableHotfix Download Available
View and request hotfix downloads
Expand all | Collapse all

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 available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if 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. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support (http://support.microsoft.com/contactus/?ws=support)
Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

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  (http://support.microsoft.com/kb/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 "Applies to" section.

REFERENCES

For additional information about a fix for the problem that is discussed in the following Knowledge Base article that is contained in this hotfix, click the following article number to view the article in the Microsoft Knowledge Base:
322968  (http://support.microsoft.com/kb/322968/ ) CColumnsInfo reference count leak in MSDAORA REF CURSOR when you retrieve data from an Oracle function
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
824684  (http://support.microsoft.com/kb/824684/ ) Description of the standard terminology that is used to describe Microsoft software updates
The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.

APPLIES TO
  • Microsoft Data Access Components 2.7
  • Microsoft Data Access Components 2.8
Keywords: 
kbautohotfix kbqfe kbhotfixserver kbbug kboracle kbfix KB815701
 

Article Translations