My Oracle Support Banner

In DB or Higher, DBMS_LDAP Procedures Using create_mod_array Values Larger than 8192 Fail with: ORA-31201: DBMS_LDAP: generic error: Mod array size limit exceeded (Doc ID 2518029.1)

Last updated on OCTOBER 15, 2019

Applies to:

Oracle Internet Directory - Version 11.1.1 and later
Information in this document applies to any platform.


After upgrading Oracle RDBMS Database (DB) from to, or higher (12c), procedures that work in DB or lower now fails with:

The error occurs when connecting from DB versions, and 12C and array value larger than 8192.

In or lower, defining array size larger, e.g., 8198 or 10000, works without problems.


Upgraded from to higher or 12c.


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.