VERIFIED SOLUTION i
X

Resolve out of memory issue, while building search index over few million records in Spectrum

Issue

While building an index on multiple address fields with high batch size (for example, 1000000), flow execution fails with following error.
"java.lang.OutOfMemoryError: GC overhead limit exceeded"

User-added image

Cause

This could be caused due to to high batch size.

Resolution

UPDATED: August 29, 2017


Best practice is to use optimal batch size, less than 50000.

Environment Details

Product Feature: Search Index
Operating System: Any
Database: Not stated
Configuration: Not stated
 

Downloads

  • No Downloads