FIX: "Not Enough Storage Is Available to Complete This Operation" with Oracle OLE DB Provider (248668)
The information in this article applies to:
- Microsoft OLE DB Provider for Oracle 2.1
- Microsoft OLE DB Provider for Oracle 2.5
This article was previously published under Q248668 SYMPTOMS
The following error message may appear when 5000 records or more are retrieved, and when each record contains 4 bytes of data:
8007000e Not enough storage is available to complete this operation.
With a client-side cursor (in other words, when an ActiveX Data Objects (ADO) Recordset's CursorLocation property is set to adUseClient), the following error occurs instead:
80004005 Data provider or other service returned an E_FAIL status
Note that the computer is not really out of memory. Microsoft OLE DB Provider for Oracle and its internal algorithm, which attempts to allocate a buffer to hold the rows, fails if the rowset size is 4 bytes or less.
RESOLUTION
To work around this problem, return recordsets larger than 4 bytes.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
This problem was corrected in MDAC 2.6.
Modification Type: | Major | Last Reviewed: | 9/30/2003 |
---|
Keywords: | kbBug kbDatabase kbfix kbMDAC260fix kbMDACNoSweep kbOracle kbProvider KB248668 |
---|
|