Skip to content

OutOfMemory error initializing replication using jdbc postgres backend #708

Description

@ldap4life

Describe the bug
When initializing a new database from an existing database using the jdbc postgres backend an OutOfMemory error is encountered during the index initialization phase. Replicating the same database using a je backend succeeds. OpenDJ version 5.0.4

To Reproduce
Steps to reproduce the behavior:

  1. Inititialize replication from a large replica (~40 million entries) to a new replica using the jdbc postgres backend. The new replica has a 48GB heap.
  2. wait for entries to be copied and index initialization to begin.
  3. Logs repeatedly report 0% complete on all indexes until out of memory happens.

Additional context

  • Removing all indexes before initializing still results in an out of memory failure. (dn2id index still gets built in this phase and doesnt appear possible to remove.)
  • this setup succeeds on a smaller database with the jdbc backend(~20,000 entries.)
  • during the index initialization phase large amounts of data can be seen being transferred by postgres

Vote to raise the priority 🖐️

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions