Results 1 to 6 of 6

Thread: Meaning of "Wowza Heap" and "Total Memory"

  1. #1

    Default Meaning of "Wowza Heap" and "Total Memory"

    In the Web GUI under "Server Monitoring", I see two figures that seem relevant to memory usage.
    "Wowza Heap" and "Total Memory."
    Is there a description available on what these mean?

    Thank you.

  2. #2

    Default

    Hello there.
    Wowza heap is what Java reserves for Wowza's use. Total memory is what is available on the machine.
    The higher the heap setting (in Tuning) the lower available memory will be. Within the reserved heap, there is available and used. So the heap might be taking up a lot of memory from the machine but not using much of it necessarily.

    You can read more about this here:
    How to do performance tuning

    Regards,

    Salvadore

  3. #3

    Default

    Salvadore,

    Thank you for the description on memory.

    I have read the mentioned page, and would appreciate a few more words on remaining questions.

    1)
    Is there a way to view the amount of used and unused memory among the reserved heap?

    2)
    All above questions arose in the course of trying to determine when our server should need more RAM.
    Is there a rule of thumb on deciding the amount of RAM?

    Our Wowza4 server is currently running on a Win x64/64bit Java with 4GB of RAM.
    It is dedicated for Wowza other than CPU hungry VNC used during remote access.
    Live streaming only, no VOD.
    As it is for a closed service, stream & clients counts are predictable.

    Graphs show the heap increasing to roughly 2GB, then dropping to 100MB over a 10 minutes cycle.
    Perhaps this is the GC doing its job, and we should be fine with even half the amount RAM, but hoping to find evidence to back up up this guess.

    Thank you.

  4. #4
    Join Date
    Sep 2011
    Posts
    1,931

    Default

    Hi,
    The Wowza Heap is the amount of Memory Wowza is using out of the total it has available as defined in the Java Heap Size.
    If the Java Heap Size is 10,000 MB and you're using 50% as shown in the Wowza Heap, you'll be using 5,000 MB.

    You'll need more memory for the server if you're often in the high 80% range when viewing the Wowza Heap and doesn't drop or you start seeing "out of memory" messages in the log file.

    Regards,
    Jason

  5. #5

    Default

    Thank you, Jason.
    As of now the "Wowza Heap" gradually increases to about 2GB, but then drops down to 400MB or less every 10 minutes or so, so I assume we are still quite good to go with 4GB of RAM.

  6. #6

    Default

    Hi,

    Yes those numbers look OK. As Jason says if your used heap is constantly high then this may indicate that you need to increase the heap size or that something is consuming it, in which case it would need to be investigated.

    Regarding your initial query, you may want to look at a tool such as jstat which you can use to query the JVM and see in detail how much heap memory is being used etc. You can also use tools such as Jconsole to query Java usage and present it in a graphical format. We have this article which shows how to use this with Wowza.

    Paul

Similar Threads

  1. Wowza Heap and Memory is getting full
    By IonatanL in forum Performance and Tuning
    Replies: 14
    Last Post: 03-21-2016, 11:47 AM
  2. call("setCaption",null,"myStream","hello room","eng","0"); - how to use serverside
    By Eliont in forum Server-side Modules and Code Samples Discussion
    Replies: 0
    Last Post: 10-30-2015, 02:43 AM
  3. Unusual Total Memory Usage
    By ajhalls in forum Server Administration
    Replies: 18
    Last Post: 09-12-2014, 06:09 AM
  4. Wowza Heap and Memory is getting Full over time
    By oomworld in forum General Forum
    Replies: 5
    Last Post: 07-11-2014, 03:36 AM
  5. Replies: 1
    Last Post: 02-13-2014, 04:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •