# What is the memory config I should set for each node in the Dremio cluster

**URL:** <https://community.dremio.com/t/what-is-the-memory-config-i-should-set-for-each-node-in-the-dremio-cluster/9013>\
**Category:** Uncategorized\
**Created:** [April 5, 2022, 7:31am UTC](https://community.dremio.com/t/what-is-the-memory-config-i-should-set-for-each-node-in-the-dremio-cluster/9013 "2022-04-05T07:31:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![quangth2](https://avatars.discourse-cdn.com/v4/letter/q/8797f3/32.png) [@quangth2](https://community.dremio.com/u/quangth2)\
**Post date:** [April 5, 2022, 7:31am UTC](https://community.dremio.com/t/what-is-the-memory-config-i-should-set-for-each-node-in-the-dremio-cluster/9013/1 "2022-04-05T07:31:30Z")

</div>

Hi there,

Right now, in our cluster, we leave the Memory setting as default  
We un-touch all the following configs:  
DREMIO\_MAX\_MEMORY\_SIZE\_MB  
DREMIO\_MAX\_HEAP\_MEMORY\_SIZE\_MB  
DREMIO\_MAX\_DIRECT\_MEMORY\_SIZE\_MB

Since the usage of Dremio is getting higher among our company, we’re occurring more and more memory issues, especially for Full GC

 ![image](https://us1.discourse-cdn.com/flex020/uploads/dremio/original/2X/f/f4449ddc70e02f1e231caf01cb52c6864113d117.png)  
5k Full GC events in 1 working day ☹

And it happens on all the nodes  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/dremio/original/2X/4/4946711ad425c00ab594cbb72521c685b953ab91.png)

So we want to tuning the setting for the memory  
I was said that depends on the role, each node will need a specific setting for the memory  
My cluster consists of:  
1 x master: 32cpu, 96GB  
1 x coordinator: 32cpu, 96GB  
3 x executor: 32cpu, 372GB  
3 x executor dedicated for reflection: 32cpu, 372GB

We’ve tried to pump the specs of each node really hard, but seems like the misconfiguration of the memory is the root cause here

Please help to advice

Thank you

---

<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:** [April 6, 2022, 11:08pm UTC](https://community.dremio.com/t/what-is-the-memory-config-i-should-set-for-each-node-in-the-dremio-cluster/9013/2 "2022-04-06T23:08:19Z")

</div>

@quangth2 What kind of deployment is this? Are you able to send `ps -ef | grep dremio` output from the nodes?
