# Wowza memory usage increases steadily, eventually runs out of memory

**URL:** <https://community.wowza.com/t/wowza-memory-usage-increases-steadily-eventually-runs-out-of-memory/45682>\
**Category:** Wowza Streaming Engine\
**Created:** [November 9, 2015, 8:55am UTC](https://community.wowza.com/t/wowza-memory-usage-increases-steadily-eventually-runs-out-of-memory/45682 "2015-11-09T08:55:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jorge\_F](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@Jorge\_F](https://community.wowza.com/u/Jorge_F)\
**Post date:** [November 9, 2015, 8:55am UTC](https://community.wowza.com/t/wowza-memory-usage-increases-steadily-eventually-runs-out-of-memory/45682/1 "2015-11-09T08:55:16Z")

</div>

Hi,

Troubleshooting a memory issue on or Wowza server that eventually causes the server to run out of memory. Streams suffer as a result.

Occurrences are mostly inconsistent. Sometimes the server will run for days/weeks without issue, however, last week there were two occurrences within a 24 hour period.

RAM utilization is consistently above 60% with 1 inbound RTMP and 5-6 outbound RTMP streams. No transcoding, packetizers not in use are disabled. Only HLS, RTMP and RTSP are enabled.

Server has 16GB RAM. Activity Monitor shows Java process consistently consuming between 9 and 13GB.

Current settings:

Performance Tuning\>Java Settings

Custom Level Heap: 8000MB

Java Garbage Collection Settings: G1 (Garbage First) Collector

Thank you.

Jorge

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [November 9, 2015, 8:02am UTC](https://community.wowza.com/t/wowza-memory-usage-increases-steadily-eventually-runs-out-of-memory/45682/2 "2015-11-09T08:02:46Z")

</div>

Hello there.

Please read through the posts in this thread for answers related to your question. At the end of which, Jason\_H gives instructions on what information the support team needs when opening a ticket.

[Wowza Heap and Memory is getting full](http://community.wowza.com/t/-/44340)

Kind regards,

Salvadore

---

<div class="post-metadata">

**Author:** ![Jason\_Hilton](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hilton/32/437_2.png) [@Jason\_Hilton](https://community.wowza.com/u/Jason_Hilton)\
**Post date:** [November 10, 2015, 1:46pm UTC](https://community.wowza.com/t/wowza-memory-usage-increases-steadily-eventually-runs-out-of-memory/45682/3 "2015-11-10T13:46:56Z")

</div>

Hi,

This issue will now be handled in the created ticket (#147532).

Regards,

Jason

---

<div class="post-metadata">

**Author:** ![Jason\_Hilton](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hilton/32/437_2.png) [@Jason\_Hilton](https://community.wowza.com/u/Jason_Hilton)\
**Post date:** [November 20, 2015, 3:28pm UTC](https://community.wowza.com/t/wowza-memory-usage-increases-steadily-eventually-runs-out-of-memory/45682/4 "2015-11-20T15:28:29Z")

</div>

Hi,

For others reading this thread, this problem was resolved when updating the Java version.

Wowza Streaming Engine was configured to use Java 1.6 and when updating this to Java 1.8 the issue was resolved.

Regards,

Jason

---

<div class="post-metadata">

**Author:** ![Jorge\_F](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@Jorge\_F](https://community.wowza.com/u/Jorge_F)\
**Post date:** [November 9, 2015, 9:15am UTC](https://community.wowza.com/t/wowza-memory-usage-increases-steadily-eventually-runs-out-of-memory/45682/5 "2015-11-09T09:15:44Z")

</div>

Thank you Salvadore. I will package the log files and submit a support ticket right now.

Looking at the memory graphs, it seems garbage collection is working properly, I see the heap usage fluctuating but utilization by Java process is consistently high.

Jorge

---

<div class="post-metadata">

**Author:** ![Jorge\_F](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@Jorge\_F](https://community.wowza.com/u/Jorge_F)\
**Post date:** [November 10, 2015, 8:49am UTC](https://community.wowza.com/t/wowza-memory-usage-increases-steadily-eventually-runs-out-of-memory/45682/6 "2015-11-10T08:49:37Z")

</div>

Thank you Jason.

Jorge
