Skip to content

Memory leak in BulkAll #2644

@sergii-sakharov

Description

@sergii-sakharov

NEST 5.2+:

Elasticsearch: Any version:

In case data producer is faster than (e.g. indexing) consumer in BulkAll, all of the data sent is not garbage collected until the very end of the BulkAll operation

Steps to reproduce:

  1. Create a large lazyEnumerable
  2. Index data through BulkAll
  3. Memory usage is constatnly rising as opposed to stabilizing

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions