# Wowza high memory usage and stop working

**URL:** <https://community.wowza.com/t/wowza-high-memory-usage-and-stop-working/54527>\
**Category:** Wowza Streaming Engine\
**Created:** [January 25, 2020, 9:07am UTC](https://community.wowza.com/t/wowza-high-memory-usage-and-stop-working/54527 "2020-01-25T09:07:29Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hasan\_Hameed\_Alhusse](https://avatars.discourse-cdn.com/v4/letter/h/3ec8ea/32.png) [@Hasan\_Hameed\_Alhusse](https://community.wowza.com/u/Hasan_Hameed_Alhusse)\
**Post date:** [January 25, 2020, 9:07am UTC](https://community.wowza.com/t/wowza-high-memory-usage-and-stop-working/54527/1 "2020-01-25T09:07:29Z")

</div>

Hello,

I have wowza 4.7.8 and Java Version 9.0.4

My JAVA setting is recommended:

Java Heap Size

Production level 10000 MB

Java Garbage Collection Settings

G1 (Garbage First) collector (recommended) -XX:+UseG1GC -XX:MaxGCPauseMillis=100

My Server have 4 cores and 16 GB of RAM

I only have 30 incoming streams without transcoder and recording

Every 2 days Memory is full and streaming is stop and I force to reboot the server.

I see many post on forum about memory usage and can not see a solution about in.

Are I must be increase the RAM or my tuning is wrong?

Please help me

---

<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:** [January 25, 2020, 3:26pm UTC](https://community.wowza.com/t/wowza-high-memory-usage-and-stop-working/54527/2 "2020-01-25T15:26:35Z")

</div>

Thank you for sharing all you have tried so far and it sounds like you have taken all the right steps to debug @Hasan Hameed Alhusseini. Because 4.7.8 has some pretty big changes in it, our engineers will need a support ticket to fully access your files and logs and get more info on your hardware.

They will then be able to try and reproduce what you are seeing and be able to suggest what needs to be done with tuning your system. It sounds like you have enough power, so the memory being cannot be determined from the forums.

You can submit it here and they are available on weekends. You will get a reply within 48 hrs at the very most. Thanks.

[https://www.wowza.com/support/open-ticket](https://www.wowza.com/support/open-ticket)

---

<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:** [January 25, 2020, 10:16pm UTC](https://community.wowza.com/t/wowza-high-memory-usage-and-stop-working/54527/3 "2020-01-25T22:16:41Z")

</div>

Request: can you state what the problem was and what solution was used? We will all know the problem and the solution.

We have been working since the beginning of its establishment. We’ve also recently updated to 4.7.8 and … We have been working since the beginning of its establishment. We also recently updated to 4.7.8 and … of course memory problem, CPU … but I anticipated that. Return to 4.7.7 and everything works without a problem.

In recent years, every update is … you have to wait for customers to make changes … then the scream begins … and problems with operation. It’s the same now.

My personal feeling - the wowza team is more focused on their CLOUD solution. I regret. It’s good that technical support works well.

SUGGESTION for FORUM - section where we can ONLY find problems reported with UPDATE to the new version and information on what solutions were used.

Thanks

---

<div class="post-metadata">

**Author:** ![Ludovico\_Ragozzino](https://avatars.discourse-cdn.com/v4/letter/l/898d66/32.png) [@Ludovico\_Ragozzino](https://community.wowza.com/u/Ludovico_Ragozzino)\
**Post date:** [January 29, 2020, 7:48pm UTC](https://community.wowza.com/t/wowza-high-memory-usage-and-stop-working/54527/4 "2020-01-29T19:48:11Z")

</div>

Same problem

---

<div class="post-metadata">

**Author:** ![Hasan\_Hameed\_Alhusse](https://avatars.discourse-cdn.com/v4/letter/h/3ec8ea/32.png) [@Hasan\_Hameed\_Alhusse](https://community.wowza.com/u/Hasan_Hameed_Alhusse)\
**Post date:** [January 31, 2020, 11:49am UTC](https://community.wowza.com/t/wowza-high-memory-usage-and-stop-working/54527/5 "2020-01-31T11:49:07Z")

</div>

Hello

The best solution is Create ticket with wowza support team

But for users that have same problem, The support says that the wowza 4.7.8 has bug with mpeg dash when you do not use it. If you disable it from application manager this problem will be solved

I not have RAM problem for last 5 days.

---

<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:** [January 31, 2020, 10:09pm UTC](https://community.wowza.com/t/wowza-high-memory-usage-and-stop-working/54527/6 "2020-01-31T22:09:13Z")

</div>

Thanks for the feedback [@Dorota Szafer-Kwasik](http://community.wowza.com/community/questions/54564/wowza-high-memory-usage-and-stop-working.html#) and I will see if we can get the “upgrade questions” forum implemented. I think that’s a great idea- thanks.

The upgrades in 4.7.8 in Engine were for a lot reasons, but most of it as you know was due to potential security threats in using the old version of Java 8 and an older Winstone servlet container.

Upgrading such changes can potentially interfere with some custom applications or plugins users had configured in 4.7.7. Several customers upgraded without issue, but I am going to ask if engineering can offer some specific info here as you have requested.

We always welcome feedback like this from our customers and are listening.

---

<div class="post-metadata">

**Author:** ![hari\_hari](https://avatars.discourse-cdn.com/v4/letter/h/db5fbb/32.png) [@hari\_hari](https://community.wowza.com/u/hari_hari)\
**Post date:** [January 20, 2021, 7:01am UTC](https://community.wowza.com/t/wowza-high-memory-usage-and-stop-working/54527/7 "2021-01-20T07:01:55Z")

</div>

It is very simple  
no need to restart the server  
If your server is linux then do cache clear

1. free -h
2. sudo sync; echo 3 \> /proc/sys/vm/drop\_caches  
then check again free -h

do it every day or 2 days once…

increase your ram to 32Gb later…

Plan to restart wowza every week or every month… not server machine only wowza  
you do it by going to server setup…

Do this wowza will not get 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:** [January 20, 2021, 6:10pm UTC](https://community.wowza.com/t/wowza-high-memory-usage-and-stop-working/54527/8 "2021-01-20T18:10:41Z")

</div>

Thanks @hari_hari for sharing this.

---

<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:** [January 20, 2021, 6:11pm UTC](https://community.wowza.com/t/wowza-high-memory-usage-and-stop-working/54527/9 "2021-01-20T18:11:46Z")

</div>

Some of you may also want to check out the following:

[https://www.wowza.com/docs/how-to-create-a-java-heap-dump-on-wowza-streaming-engine](https://www.wowza.com/docs/how-to-create-a-java-heap-dump-on-wowza-streaming-engine)

and

[https://www.wowza.com/docs/tune-wowza-streaming-engine-for-optimal-performance](https://www.wowza.com/docs/tune-wowza-streaming-engine-for-optimal-performance)

---

<div class="post-metadata">

**Author:** ![Sean\_Lynch1](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/sean_lynch1/32/1978_2.png) [@Sean\_Lynch1](https://community.wowza.com/u/Sean_Lynch1)\
**Post date:** [February 12, 2024, 6:22pm UTC](https://community.wowza.com/t/wowza-high-memory-usage-and-stop-working/54527/10 "2024-02-12T18:22:20Z")

</div>

see this same issue on machine we are using currently. memory was at 90+% … did your suggestion and dropped down to 25%. Wowza… why is this happening with your WSE on Linux? Thanks hari\_hari for the suggestions.
