Oracle Odbc Dirver Call Sqlfetch Fails With Memory Allocation Error When Using Blob

(Doc ID 1103590.1)

Last updated on JULY 05, 2017

Applies to:

Oracle ODBC Driver - Version 10.2.0.1 and later
Information in this document applies to any platform.
Checked for relevance on 23-Apr-2013

Symptoms

Using the Oracle ODBC to retrieve huge data from a BLOB column is causing a 'Memory Allocation error'.

The problem is due the Operating System limit when ODBC driver is trying to allocate more than the available memory. This could happen because the Oracle ODBC is trying to load the entire BLOB data in the local cache.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms