OUD 11.1.2.3 Server Objectclass Index Is Corrupt And Will Not Rebuild - Error - java.lang.OutOfMemoryError: Requested array size exceeds VM limit (Doc ID 2151978.1)

Last updated on NOVEMBER 07, 2016

Applies to:

Oracle Unified Directory - Version 11.1.2.3.160419 and later
Information in this document applies to any platform.

Symptoms

The objectclass index has become corrupt. Attempt to reindex using rebuild-index -b o=xxx.com -i objectclass errors out with:

 

java.lang.OutOfMemoryError: Requested array size exceeds VM limit

 

Where these type of messages will be logged -

[19/Jun/2016:06:53:52 -0400] category=JEB severity=SEVERE_ERROR msgID=8650998 msg=An error occurred while reading from index o_xxx_com_objectClass.equality key 68 69 67 68 6D 61 72 6B 65 78 74 65 6E 73 69 6F xxx extensio
6E 73 ns
. This value seems to be corrupt . The index should be checked or rebuilt

[19/Jun/2016:06:53:52 -0400] category=JEB severity=SEVERE_ERROR msgID=8650998 msg=An error occurred while reading from index o_xxx_com_objectClass.equality key 69 6E 65 74 6F 72 67 70 65 72 73 6F 6E inetorgp erson
. This value seems to be corrupt . The index should be checked or rebuilt

 

Changes

 

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