• SEARCH
  • DOWNLOADS
  • MY ACCOUNT
  • Buy (0)
  • CONTACT
  • Free Trial
Wowza Logo
  • PRODUCTS
  • DEVELOPER
  • SOLUTIONS
  • PRICING
  • RESOURCES
  • SUPPORT
  • My Account
  • Buy (0)
  • SEARCH
  • Ask a question
  • Forums
    • Wowza ClearCaster
    • Wowza Streaming Engine
    • Wowza Streaming Cloud
    • Wowza Player
    • Wowza GoCoder SDK
    • Wowza Developer Dojo
    • Topics
    • Questions
    • Articles
    • Users
    • Badges
  • Sign in
  • Community Home /
  • Wowza Streaming Engine /
  • Performance and Tuning /
avatar image
Question by Nicolas Vanhaute · Jul 17, 2012 at 10:14 AM · performance and tuning

slow memory leak

hi,

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 vCPU

4 GB RAM

Regards

Nicolas
Comment

People who like this

0 Show 0
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image

Answer by Jason Hilton · Jul 17, 2012 at 09:56 AM

Hi

Which GC are you using?

Jason
Comment

People who like this

0 Show 2 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Randall Auriemma · Jul 17, 2012 at 03:14 AM 0
Share
Nicolas,

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.
avatar image Nicolas Vanhaute Randall Auriemma · Jul 18, 2012 at 08:49 AM 0
Share
Nicolas,

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.


Hi 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 :-)

Regards

Nicolas
avatar image

Answer by Richard Lanham · Jul 18, 2012 at 03:52 PM

Nicolas,

Take a look at the tuning guide

http://www.wowza.com/forums/content.php?46-How-to-do-performance-tuning

And take a look at JMX/JConsole

http://www.wowza.com/forums/content.php?3-quick-start-guide#jmx

Use JConsole to monitor memory use in Wowza.

Richard
Comment

People who like this

0 Show 1 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Randall Auriemma · Jul 18, 2012 at 07:44 AM 0
Share
Look into these settings to understand how Java frees up allocated RAM:

-XX:MaxHeapFreeRatio=

-XX:MinHeapFreeRatio=

You can lower your heap size if you'd like more RAM to be available: -Xmx2000M

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

2 People are following this question.

avatar image avatar image

Related Questions

Workaround for closing Flash NetConnection in IE popups 2 Answers

Streaming video from DVcam 0 Answers

Live streaming over UDP 4 Answers

RTMP server not found, no video streaming 1 Answer

Ubuntu 16 LTS reco 1 Answer

Hot Topics
  • AWS Hosting
  • Mobile SDK
  • Deployment Options
  • Load Balancing
  • Content Security
Product Sign-in
  • Wowza Streaming Cloud
  • Wowza Player
Under the Hood
  • Developer Tools
  • Wowza System Status
  • Test Players
  • Developer IDE
Resellers
  • Find a Reseller
  • Reseller Portal
  • Become a Reseller
Company
  • About Us
  • Blog
  • News
  • Events
  • Careers
  • Customers
  • Partners
  • Contact Us
Stay Connected
Get Monthly Newsletter
Select a Language
  • English
    • English
    • Español
    • 日本語
    • 한국어
    • हिन्दी भाषा
    • 中文
    • русский язык

© 2005–2019 Wowza Media Systems, LLC. All rights reserved.   Terms | Privacy | Trademarks | Legal


Enterprise
Social Q&A

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Forums
  • Wowza ClearCaster
  • Wowza Streaming Engine
  • Wowza Streaming Cloud
  • Wowza Player
  • Wowza GoCoder SDK
  • Wowza Developer Dojo
  • Explore
  • Topics
  • Questions
  • Articles
  • Users
  • Badges