-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
High memory usage on elastic agent #35234
Comments
Pinging @elastic/elastic-agent (Team:Elastic-Agent) |
@alexsapran putting this in your radar. |
Thanks @pierrehilbert 👍🏼 . Reading about this issue, I was wondering if, @mistic could share the configuration (or part of the configuration) of what your friend tried as well as what version of elastic agent he was using, what OS, and what methodology he used to test this. |
The way Go initializes dependencies is the major factor here and is well described in grafana/alloy#529, where it also affects the startup time for services with many dependencies. CC @andrewkroh, since we were just talking about the memory usage of the agent and this seems to be one contributing factor. For @alexsapran what we would need from our performance testing is to capture the memory usage for each test, and ideally capture heap profiles in addition to CPU profiles. |
Thanks for paying attention to this team! @alexsapran do you still find the info you mentioned previously as needed? |
See raggi@f069ddd for an example, this cuts the rss substantially |
A friend of mine using the elastic agent reported to me an unreasonably high memory when using the elastic agent.
The following is the feedback that came up as a result from a little investigation they ran:
I believe this is something that is worth it at least to get checked so I'm opening this issue here.
The text was updated successfully, but these errors were encountered: