Calling OCILobRead and retrieving a CLOB in one piece on 32-bit platforms may fail with: ORA-24817: Unable to allocate the given chunk for current lob operation (Doc ID 780346.1)

Last updated on NOVEMBER 02, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.1 and later
Information in this document applies to any platform.
***Checked for relevance on 1st Jun 2015***

Symptoms

Reading a CLOB in a single piece using OCILobRead may fail with:

   ORA-24817: Unable to allocate the given chunk for current lob operation

 

when the chunk size or lob piece is greater than 64mb on 32-bit platforms.

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