FIX: CColumnsInfo Reference Count Leak in MSDAORA REF CURSOR When You Retrieve Data from an Oracle Function (322968)
The information in this article applies to:
- Microsoft OLE DB Provider for Oracle 2.7
- Microsoft Data Access Components 2.7
- Microsoft Data Access Components 2.7 SP1
- Microsoft Data Access Components 2.8
This article was previously published under Q322968 SYMPTOMS When a client application uses the Microsoft OLE DB
Provider for Oracle (MSDAORA) that is included with MDAC 2.7, to retrieve data
from an Oracle function by using a REF CURSOR, the application leaks memory
each time a command is executed to retrieve data from an Oracle function.
CAUSE The Microsoft OLE DB Provider for Oracle (MSDAORA)
incorrectly maintains an extra reference count on the IColumnsInfo wrapper class. This causes a leak each time a new command is
executed to retrieve data. RESOLUTIONA supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next MDAC 2.7 SP2 that contains this hotfix. To resolve this problem immediately, 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) 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
--------------------------------------------------------------
22-May-2002 22:03 2.70.8722.0 221,184 Msdaora.dll
MDAC 2.7 SP1
Date Time Version Size File name
--------------------------------------------------------------
05-Mar-2003 18:07 2.71.9031.34 221,184 Msdaora.dll
MDAC 2.8
Date Time Version Size File name
--------------------------------------------------------------
20-Nov-2003 11:55 2.80.1026.0 225,280 Msdaora.dll
Note For a list of all the hotfixes 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
WORKAROUND No workaround exists. STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.REFERENCES For
additional information, click the following article number to view the article
in the Microsoft Knowledge Base: 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
Modification Type: | Major | Last Reviewed: | 4/7/2006 |
---|
Keywords: | kbQFE KBHotfixServer kbbug kbfix kbOracle KB322968 kbAudDeveloper |
---|
|