# wowza memory

**URL:** <https://community.wowza.com/t/wowza-memory/47248>\
**Category:** Wowza Streaming Engine\
**Created:** [July 6, 2016, 2:54pm UTC](https://community.wowza.com/t/wowza-memory/47248 "2016-07-06T14:54:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ayush\_Jain](https://avatars.discourse-cdn.com/v4/letter/a/b2d939/32.png) [@Ayush\_Jain](https://community.wowza.com/u/Ayush_Jain)\
**Post date:** [July 6, 2016, 2:54pm UTC](https://community.wowza.com/t/wowza-memory/47248/1 "2016-07-06T14:54:31Z")

</div>

i’m using livestreamrecordermanager for recording the incoming stream into my computer. I’m recording in my computer then why the wowza memory is used up.Is there is any way to free the wowza memory programatically?

before recording it is using only 4 gb of memory

but after recording for 5 min it is now using aroung 7.6 gb of memory…i’m recording segments for each minute??

---

<div class="post-metadata">

**Author:** ![gabriel\_fg](https://avatars.discourse-cdn.com/v4/letter/g/a183cd/32.png) [@gabriel\_fg](https://community.wowza.com/u/gabriel_fg)\
**Post date:** [July 6, 2016, 11:27am UTC](https://community.wowza.com/t/wowza-memory/47248/2 "2016-07-06T11:27:50Z")

</div>

not sure this is a problem : what os your wowza is installed on ? by default unix uses all memory

you can define the max memory usable in the startup script (see java\_heap\_memory)

---

<div class="post-metadata">

**Author:** ![gabriel\_fg](https://avatars.discourse-cdn.com/v4/letter/g/a183cd/32.png) [@gabriel\_fg](https://community.wowza.com/u/gabriel_fg)\
**Post date:** [July 6, 2016, 1:07pm UTC](https://community.wowza.com/t/wowza-memory/47248/3 "2016-07-06T13:07:25Z")

</div>

what gives you a top ? any swap memory used ? if no, there is no problem, if yes maybe you should increase your memory or reduce heap size

how many GB ram do you have ? did you check the performance tuning articles ?

---

<div class="post-metadata">

**Author:** ![Jason\_Tuchler](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_tuchler/32/462_2.png) [@Jason\_Tuchler](https://community.wowza.com/u/Jason_Tuchler)\
**Post date:** [August 11, 2016, 2:28pm UTC](https://community.wowza.com/t/wowza-memory/47248/4 "2016-08-11T14:28:04Z")

</div>

Hello,

I would read this [tuning article](https://www.wowza.com/docs/how-to-do-performance-tuning) and set you heap size to “Production” to see if that helps.

Also posting the contents of your Access Log file when this happens might help as well.

[wowza-install-dir]/logs/wowzastreamingengine\_access.log

Best,

JasonT

---

<div class="post-metadata">

**Author:** ![Ayush\_Jain](https://avatars.discourse-cdn.com/v4/letter/a/b2d939/32.png) [@Ayush\_Jain](https://community.wowza.com/u/Ayush_Jain)\
**Post date:** [July 6, 2016, 5:07pm UTC](https://community.wowza.com/t/wowza-memory/47248/5 "2016-07-06T17:07:07Z")

</div>

my wowza is installed on unix but when i run " sudo sh -c ‘echo 1 \>/proc/sys/vm/drop\_caches’ "on terminal the wowza memory comes back to its usage and after some time it again reaches to its maximum limit. is there a method to automatically remove the cache.
