# Agent - Consume High memory

**URL:** <https://discuss.elastic.co/t/agent-consume-high-memory/361945>\
**Category:** Elastic Security\
**Created:** [June 24, 2024, 11:08am UTC](https://discuss.elastic.co/t/agent-consume-high-memory/361945 "2024-06-24T11:08:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Charles\_Nkuna](https://avatars.discourse-cdn.com/v4/letter/c/85e7bf/32.png) [@Charles\_Nkuna](https://discuss.elastic.co/u/Charles_Nkuna)\
**Post date:** [June 24, 2024, 11:08am UTC](https://discuss.elastic.co/t/agent-consume-high-memory/361945/1 "2024-06-24T11:08:26Z")

</div>

Hi,

We installed elastic defend on our endpoints but the agent consume high CPU and machine becomes slow when running applications.

W have put multiple exclusions in place but looks like its not fixing the issue.

Any idea how can we fix the issue or any solutions how to go about this?

Kind regards  
Charlie

---

<div class="post-metadata">

**Author:** ![lesio](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lesio/32/89323_2.png) [@lesio](https://discuss.elastic.co/u/lesio)\
**Post date:** [June 24, 2024, 12:46pm UTC](https://discuss.elastic.co/t/agent-consume-high-memory/361945/2 "2024-06-24T12:46:23Z")

</div>

Hello,

It's hard to guess what's the culprit without knowing your environment. The common issue causing high CPU and machine slowness is [feedback loop](https://github.com/elastic/endpoint/blob/main/PerformanceIssues-Windows.md#feedback-loops) between Elastic Endpoint and other security product. It's not recommended to run more than one security product but if that's your decision it's important to make appropriate exclusion on both ends, in Elastic Endpoint and in the other(s) product(s).

Apart from the above, this could be caused by a particular workflow. We have a [built-in utility](https://github.com/elastic/endpoint/blob/main/EndpointTopCommand.md) `top` to aid you with finding which feature/application is causing the biggest impact. When you spot some, you can try to add appropriate `Trusted Application` entry or turn off the feature.

Run:

```auto
"C:\Program Files\Elastic\Endpoint\elastic-endpoint.exe" top

```

or

```auto
sudo /Library/Elastic/Endpoint/elastic-endpoint top

```

or

```auto
/opt/Elastic/Endpoint/elastic-endpoint top

```

Hope this helps

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 22, 2024, 12:47pm UTC](https://discuss.elastic.co/t/agent-consume-high-memory/361945/3 "2024-07-22T12:47:23Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
