Skip to content
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

Indexing Pressure should also account for the parsing memory #121651

Open
albertzaharovits opened this issue Feb 4, 2025 · 1 comment
Open

Indexing Pressure should also account for the parsing memory #121651

albertzaharovits opened this issue Feb 4, 2025 · 1 comment
Labels
:Distributed Indexing/CRUD A catch all label for issues around indexing, updating and getting a doc by id. Not search. >enhancement Team:Distributed Indexing Meta label for Distributed Indexing team

Comments

@albertzaharovits
Copy link
Contributor

Description

Indexing pressure does not currently account for the extra heap memory required for parsing indexed documents, i.e. by the index.mapper.SourceToParse and jackson.core.util.ReadConstrainedTextBuffer classes. In the worst cases, the extra memory can be 1x and 2x, respectively, the memory of the indexed document (the memory that's accounted by the IndexingPressure).
In some cases this can OOM the node rather than reject the indexing request.

@albertzaharovits albertzaharovits added :Distributed Indexing/CRUD A catch all label for issues around indexing, updating and getting a doc by id. Not search. >enhancement labels Feb 4, 2025
@elasticsearchmachine elasticsearchmachine added the Team:Distributed Indexing Meta label for Distributed Indexing team label Feb 4, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-distributed-indexing (Team:Distributed Indexing)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Distributed Indexing/CRUD A catch all label for issues around indexing, updating and getting a doc by id. Not search. >enhancement Team:Distributed Indexing Meta label for Distributed Indexing team
Projects
None yet
Development

No branches or pull requests

2 participants