# Configuring Dremio Memory Limits on Kubernetes

**URL:** <https://community.dremio.com/t/configuring-dremio-memory-limits-on-kubernetes/9971>\
**Category:** Uncategorized\
**Created:** [November 28, 2022, 5:06pm UTC](https://community.dremio.com/t/configuring-dremio-memory-limits-on-kubernetes/9971 "2022-11-28T17:06:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dcardellino](https://avatars.discourse-cdn.com/v4/letter/d/ecccb3/32.png) [@dcardellino](https://community.dremio.com/u/dcardellino)\
**Post date:** [November 28, 2022, 5:06pm UTC](https://community.dremio.com/t/configuring-dremio-memory-limits-on-kubernetes/9971/1 "2022-11-28T17:06:44Z")

</div>

Hey together,

We currently try to configure Dremio Memory Limits via Helm Chart, but we do not really understand how to do this correctly.

Can you help me how to do this?

---

<div class="post-metadata">

**Author:** ![balaji.ramaswamy](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/balaji.ramaswamy/32/843_2.png) [@balaji.ramaswamy](https://community.dremio.com/u/balaji.ramaswamy)\
**Post date:** [November 29, 2022, 4:58am UTC](https://community.dremio.com/t/configuring-dremio-memory-limits-on-kubernetes/9971/2 "2022-11-29T04:58:19Z")

</div>

@dcardellino Based on the pod memory Dremio will take the right amount of direct and heap memory. Is this the coordinator or executor pod? Do you want steps to so custom direct and heap?

---

<div class="post-metadata">

**Author:** ![dcardellino](https://avatars.discourse-cdn.com/v4/letter/d/ecccb3/32.png) [@dcardellino](https://community.dremio.com/u/dcardellino)\
**Post date:** [November 29, 2022, 5:32am UTC](https://community.dremio.com/t/configuring-dremio-memory-limits-on-kubernetes/9971/3 "2022-11-29T05:32:52Z")

</div>

@balaji.ramaswamy

Okay, that sounds okay. But why are we facing this issue then:

`Query was cancelled because it exceeded the memory limits set by the administrator.`

---

<div class="post-metadata">

**Author:** ![balaji.ramaswamy](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/balaji.ramaswamy/32/843_2.png) [@balaji.ramaswamy](https://community.dremio.com/u/balaji.ramaswamy)\
**Post date:** [November 30, 2022, 5:02am UTC](https://community.dremio.com/t/configuring-dremio-memory-limits-on-kubernetes/9971/4 "2022-11-30T05:02:21Z")

</div>

@dcardellino That is the high level memory, are you able to send me the job profile of the failed job?
