Skip to content

[BUG] RFS encounters OutOfMemoryError when processing an index with docs ~20MB in size #1433

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
AndreKurait opened this issue Apr 8, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@AndreKurait
Copy link
Member

What is the bug?

Customer used RFS to migrate a cluster with larger docs with default settings in Migration Assistant, encountering error

10:48:47,814 ERROR r.c.s.Schedulers [sharedSegmentReader-27] Scheduler 
worker in group main failed with an uncaught exception
java.lang.OutOfMemoryError: Java heap space

What are your migration environments?

ES 7.17 -> OS 1.3

How can one reproduce the bug?

Use RFS with snapshot with 20MB docs

What is the expected behavior?

RFS operates without OOM

Do you have any additional context?

@AndreKurait AndreKurait added bug Something isn't working untriaged labels Apr 8, 2025
@AndreKurait
Copy link
Member Author

Note: There may be a workaround here to use "reindexFromSnapshotWorkerSize": "maximum" in the cdk.context.json to deploy RFS ECS instances vertically scaled (16 vCPU 32GB Memory).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants