# How to determine approximate memory usage of workflow execution?

**URL:** <https://forum.camunda.io/t/how-to-determine-approximate-memory-usage-of-workflow-execution/48808>\
**Category:** Camunda 8 Topics\
**Created:** [November 14, 2023, 2:17pm UTC](https://forum.camunda.io/t/how-to-determine-approximate-memory-usage-of-workflow-execution/48808 "2023-11-14T14:17:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jgeek1](https://forum.camunda.io/letter_avatar_proxy/v4/letter/j/f17d59/32.png) [@jgeek1](https://forum.camunda.io/u/jgeek1)\
**Post date:** [November 14, 2023, 2:17pm UTC](https://forum.camunda.io/t/how-to-determine-approximate-memory-usage-of-workflow-execution/48808/1 "2023-11-14T14:17:21Z")

</div>

We are using camunda 8.2.12. We have hazelcast as one of the exporters configured in zeebe.

To determine the memory allocation to the zeebe broker pods and to hazelcast cluster, I am trying to figure out ways to understand how much state does a workflow execution need on an average. We could execute few processes in our test environment to understand the memory usage and then configure these components accordingly.

I have operate deployed in our test environment but I do not see any such metric being capture. Can optimize help us determine this memory usage?

Thanks.

---

<div class="post-metadata">

**Author:** ![Divyansh\_Garg](https://forum.camunda.io/user_avatar/forum.camunda.io/divyansh_garg/32/27448_2.png) [@Divyansh\_Garg](https://forum.camunda.io/u/Divyansh_Garg)\
**Post date:** [November 30, 2023, 9:53am UTC](https://forum.camunda.io/t/how-to-determine-approximate-memory-usage-of-workflow-execution/48808/2 "2023-11-30T09:53:43Z")

</div>

> [@jgeek1](#):
>
> optimize help us determine this memory usage?

Hey @jgeek1 I am also facing a similar situation where I need to measure the memory usage of some of the processes to better understand the workflows. Did you get the solution to this question?

---

<div class="post-metadata">

**Author:** ![jgeek1](https://forum.camunda.io/letter_avatar_proxy/v4/letter/j/f17d59/32.png) [@jgeek1](https://forum.camunda.io/u/jgeek1)\
**Post date:** [December 1, 2023, 1:12pm UTC](https://forum.camunda.io/t/how-to-determine-approximate-memory-usage-of-workflow-execution/48808/3 "2023-12-01T13:12:05Z")

</div>

Hi @Divyansh_Garg - I didn’t find any solution. As a temporary workaround what I do is estimate the payload size in memory that we run with and run multiple processes with the sample attached to [this](https://github.com/camunda/zeebe/issues/12873#issue-1727618587) issue. Observing the memory usage of the broker gives some rough idea as to how much memory our workflows would take at runtime.
