# Bloomreach Max and Min Java Heap Size recommended

**URL:** <https://community.bloomreach.com/t/bloomreach-max-and-min-java-heap-size-recommended/4311>\
**Category:** Uncategorized\
**Created:** [March 7, 2024, 11:07am UTC](https://community.bloomreach.com/t/bloomreach-max-and-min-java-heap-size-recommended/4311 "2024-03-07T11:07:25Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Razvan](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/razvan/32/2111_2.png) [@Razvan](https://community.bloomreach.com/u/Razvan)\
**Post date:** [March 7, 2024, 11:07am UTC](https://community.bloomreach.com/t/bloomreach-max-and-min-java-heap-size-recommended/4311/1 "2024-03-07T11:07:25Z")

</div>

Hello,

We are currently using the version 12.6.26 of Bloomreach CMS with plans to move to the version 13 in the next months.

Do you know if there is a recommended Max and Min Java Heap Size for Bloomreach CMS?

---

<div class="post-metadata">

**Author:** ![jasper.floor](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/jasper.floor/32/28_2.png) [@jasper.floor](https://community.bloomreach.com/u/jasper.floor)\
**Post date:** [March 7, 2024, 12:55pm UTC](https://community.bloomreach.com/t/bloomreach-max-and-min-java-heap-size-recommended/4311/2 "2024-03-07T12:55:04Z")

</div>

Hi,

There is no good answer for this as so much depends on implementation and site traffic. So as far as official recommendations go, there really aren’t any.

---

<div class="post-metadata">

**Author:** ![Razvan](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/razvan/32/2111_2.png) [@Razvan](https://community.bloomreach.com/u/Razvan)\
**Post date:** [March 8, 2024, 11:14am UTC](https://community.bloomreach.com/t/bloomreach-max-and-min-java-heap-size-recommended/4311/3 "2024-03-08T11:14:04Z")

</div>

Hi @jasper.floor , thank you for your reply!

We are receiving around 3 requestes per second and our implementention is Ubuntu 22.0.4 with 8 GB of RAM, Java version 1.8.0\_392.

Not sure if this is the right place to ask but would you be able to provide the min and max heap size based on our implementation and traffic, please?

---

<div class="post-metadata">

**Author:** ![jasper.floor](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/jasper.floor/32/28_2.png) [@jasper.floor](https://community.bloomreach.com/u/jasper.floor)\
**Post date:** [March 8, 2024, 2:21pm UTC](https://community.bloomreach.com/t/bloomreach-max-and-min-java-heap-size-recommended/4311/4 "2024-03-08T14:21:37Z")

</div>

Hi,

it really still depends on the details of your implementation. However if that 8gb is the java heap space it should be plenty. How many instances are you running? If you are experiencing performance issues, you could add another instance to your setup. But it would likely be more useful to first analyze where your system is taking a lot of time. You can use [hst page diagnostics](https://xmdocumentation.bloomreach.com/library/concepts/request-handling/hst-page-diagnostics.html) for that.

---

<div class="post-metadata">

**Author:** ![Razvan](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/razvan/32/2111_2.png) [@Razvan](https://community.bloomreach.com/u/Razvan)\
**Post date:** [March 11, 2024, 10:45am UTC](https://community.bloomreach.com/t/bloomreach-max-and-min-java-heap-size-recommended/4311/5 "2024-03-11T10:45:07Z")

</div>

> [@jasper.floor](#):
>
> system is taking a lot of

Hello,

We have a total of 8GB RAM memory on the environment and we setup the Max Heap size to 6GB. This has been done on the test environment where we have 3 instances running (in prod we have 25 instances). We did had an outage in test which we are not completly sure is related to the increase of the Heap Size from 2GB to 6GB, hence my question on this post.

---

<div class="post-metadata">

**Author:** ![Razvan](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/razvan/32/2111_2.png) [@Razvan](https://community.bloomreach.com/u/Razvan)\
**Post date:** [March 12, 2024, 9:34am UTC](https://community.bloomreach.com/t/bloomreach-max-and-min-java-heap-size-recommended/4311/6 "2024-03-12T09:34:32Z")

</div>

@jasper.floor one more question, do you think we can use the [hst page diagnostics](https://xmdocumentation.bloomreach.com/library/concepts/request-handling/hst-page-diagnostics.html?_gl=1*dpoml8*_ga*MTI4MjU0ODY2Mi4xNzA5ODA0OTE1*_ga_QNZ568TB7S*MTcxMDIzNTcwMC43LjAuMTcxMDIzNTcwNC41Ni4wLjA.) page to test the application if we use it on a headless way?

---

<div class="post-metadata">

**Author:** ![jasper.floor](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/jasper.floor/32/28_2.png) [@jasper.floor](https://community.bloomreach.com/u/jasper.floor)\
**Post date:** [March 14, 2024, 9:28am UTC](https://community.bloomreach.com/t/bloomreach-max-and-min-java-heap-size-recommended/4311/7 "2024-03-14T09:28:26Z")

</div>

YEs you can still use the hst:pagediagnostics in a headless mode.
