slow memory leak
I detected there is a slow memory leak of java when wowza is running
when I stop wowza, no issue but when I start it and I let it up during one week, it increases slowly and never releases it
any idea what's the problem ?
I use :
Wowza Media Server 3 Perpetual Edition 3.1.2 build1624
Java Version: 1.7.0_05 (64 bits)
and I configured setenv.sh with : JAVA_OPTS="-Xmx4000M"
my server has :
4 GB RAM
Which GC are you using?
Why do you think there is a memory leak? You'd need a good understanding of Jconsole and Java GC to identify such a thing. Java doesn't necessarily lower committed memory after a GC run.
Originally Posted by randall
I can see memory leak because each day when I do a "top", I can see that java is using each day more and more memory.
Sorry I'm not a java expert, so tell me how to know GC used ?
And again, it's just because of "top" command that I see this memory usage increases... if it's normal, np, it was just a question :-)
Take a look at the tuning guide
And take a look at JMX/JConsole
Use JConsole to monitor memory use in Wowza.
Look into these settings to understand how Java frees up allocated RAM:
You can lower your heap size if you'd like more RAM to be available: -Xmx2000M