# Wowza Heap over 10GB?

**URL:** <https://community.wowza.com/t/wowza-heap-over-10gb/44948>\
**Category:** Wowza Streaming Engine\
**Created:** [July 25, 2016, 6:53am UTC](https://community.wowza.com/t/wowza-heap-over-10gb/44948 "2016-07-25T06:53:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bob\_Bohanek](https://avatars.discourse-cdn.com/v4/letter/b/ecb155/32.png) [@Bob\_Bohanek](https://community.wowza.com/u/Bob_Bohanek)\
**Post date:** [July 25, 2016, 6:53am UTC](https://community.wowza.com/t/wowza-heap-over-10gb/44948/1 "2016-07-25T06:53:42Z")

</div>

I know the recommendation is that we do not exceed 10 GB allocated to Wowza in production due to GC concerns. I am running an g2.8xlarge box on AWS which has 64 GB of RAM, so I believe that I can go above 10.

This weekend I saw the heap get filled up and it caused performance issues. I run a small LAMP stack on this same server to take care of larger file moves into AWS, and it looks like that may have been the subject of a random attack (meaning not directed specifically at us). At this same time, I saw:

- heap memory up to 80%+

- network out exceeding 2 Gbps

So my question is this, can I set the heap memory higher and what should I do to limit the GC hit that is referenced? Is there somewhere I can trade the two off to get to a place where my Wowza server can make more effective use of the 64 GB of ram this machine has available.

Thanks,

Bob

---

<div class="post-metadata">

**Author:** ![Andy\_Engberson](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/andy_engberson/32/392_2.png) [@Andy\_Engberson](https://community.wowza.com/u/Andy_Engberson)\
**Post date:** [August 24, 2016, 11:45pm UTC](https://community.wowza.com/t/wowza-heap-over-10gb/44948/2 "2016-08-24T23:45:45Z")

</div>

Hi

The limitation isn’t as relevant as it was now that we recommend using the G1 (Garbage First) collector. With the older garbage collection (Concurrent collector) this was a real problem, however this can now be increased beyond 10 GB when using the G1 (Garbage First) collector.

To do this, you will need to edit the [Wowza-Install]/conf/Tune.xml file using a text editor.

A restart of Wowza Streaming Engine is required for the changes to take effect.

Regards,

Andy\_E
