Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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.

↑ Back to the top


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.

↑ Back to the top


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: 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 FIX: Hotfixes are available for MDAC 2.8

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


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

↑ Back to the top


Keywords: KB815701, kbfix, kboracle, kbbug, kbhotfixserver, kbqfe, kbautohotfix

↑ Back to the top

Article Info
Article ID : 815701
Revision : 6
Created on : 11/15/2007
Published on : 11/15/2007
Exists online : False
Views : 354