# JAVA HEAP increased

**URL:** <https://community.wowza.com/t/java-heap-increased/53271>\
**Category:** Wowza Streaming Engine\
**Tags:** java\
**Created:** [April 30, 2019, 6:48pm UTC](https://community.wowza.com/t/java-heap-increased/53271 "2019-04-30T18:48:05Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![LogicaHost\_Solucoes](https://avatars.discourse-cdn.com/v4/letter/l/3ab097/32.png) [@LogicaHost\_Solucoes](https://community.wowza.com/u/LogicaHost_Solucoes)\
**Post date:** [April 30, 2019, 6:48pm UTC](https://community.wowza.com/t/java-heap-increased/53271/1 "2019-04-30T18:48:05Z")

</div>

Hello, the java heap has increased making the wowza stop working.

I’ve already changed the server, I increased the memory of my server from 64 GB to 128 GB and the problem persists daily.  
The wowza team has already requested several logs and was unable to identify the problem.  
I do not know what to do, how to increase JAVA HEAP memory from 10GB to 30GB?

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/system/32/447_2.png) [@system](https://community.wowza.com/u/system)\
**Post date:** [April 30, 2019, 7:07pm UTC](https://community.wowza.com/t/java-heap-increased/53271/2 "2019-04-30T19:07:21Z")

</div>

We have an article that shows how to increase your heap size.  
[https://www.wowza.com/docs/tune-wowza-streaming-engine-for-optimal-performance#tune-java-settings](https://www.wowza.com/docs/tune-wowza-streaming-engine-for-optimal-performance#tune-java-settings)

Note that your heap size is growing for a reason and increasing the size of your heap will only delay the inevitable crash.

Some of those reasons could be having multiple .stream file sources offline, an IO issue on your server, your Transcoder is overloaded, or a custom module is causing problems.

Please also make sure that your hardware meets our minimum specifications. We have an article on this.

[https://www.wowza.com/products/streaming-engine/specifications](https://www.wowza.com/products/streaming-engine/specifications)

We also have an article on how to find the right hardware for your workflow at the article below.

[https://www.wowza.com/blog/4-tips-for-sizing-streaming-server-hardware](https://www.wowza.com/blog/4-tips-for-sizing-streaming-server-hardware)

---

<div class="post-metadata">

**Author:** ![LogicaHost\_Solucoes](https://avatars.discourse-cdn.com/v4/letter/l/3ab097/32.png) [@LogicaHost\_Solucoes](https://community.wowza.com/u/LogicaHost_Solucoes)\
**Post date:** [September 6, 2020, 8:04pm UTC](https://community.wowza.com/t/java-heap-increased/53271/3 "2020-09-06T20:04:44Z")

</div>

Hello, my heap is filling up about 6 hours, the wowza is offline, when I use a personalized module, I don’t use a transoder. ☹

---

<div class="post-metadata">

**Author:** ![Dorota\_Szafer-Kwasik](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/dorota_szafer-kwasik/32/1150_2.png) [@Dorota\_Szafer-Kwasik](https://community.wowza.com/u/Dorota_Szafer-Kwasik)\
**Post date:** [September 7, 2020, 1:37pm UTC](https://community.wowza.com/t/java-heap-increased/53271/4 "2020-09-07T13:37:46Z")

</div>

Hi. How to increase? It’s easy.

You are editing the Tune.xml file

You delete the entry: $ {com.wowza.wms.TuningGarbageCollectorG1Default}

you enter e.g. 32000M

Restart.

But they wrote: observe and think what might be the reason for this.

---

<div class="post-metadata">

**Author:** ![test\_md-alpine-03101](https://avatars.discourse-cdn.com/v4/letter/t/779978/32.png) [@test\_md-alpine-03101](https://community.wowza.com/u/test_md-alpine-03101)\
**Post date:** [September 9, 2020, 12:49pm UTC](https://community.wowza.com/t/java-heap-increased/53271/5 "2020-09-09T12:49:12Z")

</div>

Answer marked as Best Answer.

---

<div class="post-metadata">

**Author:** ![LogicaHost\_Solucoes](https://avatars.discourse-cdn.com/v4/letter/l/3ab097/32.png) [@LogicaHost\_Solucoes](https://community.wowza.com/u/LogicaHost_Solucoes)\
**Post date:** [September 9, 2020, 1:54pm UTC](https://community.wowza.com/t/java-heap-increased/53271/6 "2020-09-09T13:54:14Z")

</div>

I have a ticket open for more than 72hrs, I am desperate my wowza continues stop

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [September 9, 2020, 2:01pm UTC](https://community.wowza.com/t/java-heap-increased/53271/7 "2020-09-09T14:01:35Z")

</div>

Ok let me contact that engineer directly. We did have a U.S. holiday Monday and Wowza was closed. I’ll have him reach out to you today. Thanks for letting me know there was a ticket already so I could check on it.

---

<div class="post-metadata">

**Author:** ![LogicaHost\_Solucoes](https://avatars.discourse-cdn.com/v4/letter/l/3ab097/32.png) [@LogicaHost\_Solucoes](https://community.wowza.com/u/LogicaHost_Solucoes)\
**Post date:** [September 9, 2020, 2:04pm UTC](https://community.wowza.com/t/java-heap-increased/53271/8 "2020-09-09T14:04:37Z")

</div>

thank you Rose, a great day

---

<div class="post-metadata">

**Author:** ![LogicaHost\_Solucoes](https://avatars.discourse-cdn.com/v4/letter/l/3ab097/32.png) [@LogicaHost\_Solucoes](https://community.wowza.com/u/LogicaHost_Solucoes)\
**Post date:** [September 9, 2020, 12:51pm UTC](https://community.wowza.com/t/java-heap-increased/53271/9 "2020-09-09T12:51:41Z")

</div>

Is there any property added in the application, to avoid dumping heap memory?

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [September 9, 2020, 2:05pm UTC](https://community.wowza.com/t/java-heap-increased/53271/10 "2020-09-09T14:05:27Z")

</div>

Thanks! You too!

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [September 9, 2020, 1:48pm UTC](https://community.wowza.com/t/java-heap-increased/53271/11 "2020-09-09T13:48:38Z")

</div>

Do you want to send us a support ticket so we can assist you with tuning your server? The forums will be going into maintenance mode today and tomorrow, but we’re happy to help you with this in a ticket.
