Skip to content

[ML] Disregard influencers when in hard_limit #2525

Description

@valeriy42

While processing the bucket data in CBucketGatherer::addEventData, we transiently fill up the queue of m_InfluencerCounts. https://github.com/elastic/ml-cpp/blob/b2e749beffff29223c3cd7dd265b3b5f7ff37bd0/lib/model/CBucketGatherer.cc#LL300C29-L300C29 When the job is hard_limit state, this can lead to temporarily using more memory than is allowed. In order to improve the stability and adherence to the memory limit, we can avoid populating this queue in the hard_limit state.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions