Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Red5 memory leak #257

Open
anvishwakarma opened this issue Sep 7, 2018 · 2 comments
Open

Red5 memory leak #257

anvishwakarma opened this issue Sep 7, 2018 · 2 comments
Assignees

Comments

@anvishwakarma
Copy link

Issue

Red5 memory leak during live h264 video publish

Short description

We have two red5 instance running parallely. Memory consumption on one instance is normal(16%) with 10 streams. However, on second instance memory consumption is around 55% with 20 streams. When we analysed the heap dump of second instance we found 1,968,245,216 instances of class org/red5/codec/IVideoStreamCodec$FrameData . We suspect that these are not garbage collected. So, it total these objects are consuming 2GB of heap.

Environment

Operating system and version: Ubuntu 16.04
Java version: java 8
Red5 version: v1.0.10-M9

Expected behavior

Heap memory usage should be same on both the red5 instances.

Actual behavior

Heap memory usage grows for sometime and contains stale zero size objects.

Steps to reproduce

  1. Stream more than 20 RTMPS stream continuously
@svonian
Copy link

svonian commented Jan 3, 2019

I am experiencing the same with same environment and Java and Red5 version v1.0.9-M2

@mondain
Copy link
Member

mondain commented May 29, 2019

I suggest retesting with v1.1.1

@mondain mondain self-assigned this Aug 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants