# Is there any API to read the heap size?

**URL:** <https://community.wowza.com/t/is-there-any-api-to-read-the-heap-size/92675>\
**Category:** Wowza Streaming Engine\
**Created:** [January 13, 2021, 8:19pm UTC](https://community.wowza.com/t/is-there-any-api-to-read-the-heap-size/92675 "2021-01-13T20:19:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sandeep\_meshram](https://avatars.discourse-cdn.com/v4/letter/s/46a35a/32.png) [@sandeep\_meshram](https://community.wowza.com/u/sandeep_meshram)\
**Post date:** [January 13, 2021, 8:19pm UTC](https://community.wowza.com/t/is-there-any-api-to-read-the-heap-size/92675/1 "2021-01-13T20:19:05Z")

</div>

We are also facing issues with the HEAP. Once every week the Heap size is full and we have to restart Wowza. Just wondering is there was an API which will give us the current heap size then we can have some logic around it to avoid restart.  
Please let us know if there is any API to read the heap size.

---

<div class="post-metadata">

**Author:** ![ScottKellicker](https://avatars.discourse-cdn.com/v4/letter/s/7c8e57/32.png) [@ScottKellicker](https://community.wowza.com/u/ScottKellicker)\
**Post date:** [January 14, 2021, 2:36pm UTC](https://community.wowza.com/t/is-there-any-api-to-read-the-heap-size/92675/2 "2021-01-14T14:36:41Z")

</div>

From Java, there are APIs to monitor heap as well as many other aspects of the system
