Replies: 3 comments 2 replies
-
Thank you very much for providing pprof reports, from what you provided it's evident that there's a memory leak, in particular |
Beta Was this translation helpful? Give feedback.
-
this is fixed by #4967 |
Beta Was this translation helpful? Give feedback.
-
@aler9 I checked again with version 1.15.0. ![]() |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Question
MediaMTX memory usage is increasing.
About 300 source streams are registered in the configuration, and they support RTSP (tcp only) and HLS.
Of the 300 streams, only 70 are being used as live-pull streams, and multiple clients are accessing them frequently.
Testing was conducted for approximately 20 hours, and the pprof data file is attached.
We need to determine whether this is an internal issue with MediaMTX or a GC optimization issue.
Test Environment
Memory Usage

pprof output file
pprof.mediamtx-250911.alloc_objects.alloc_space.inuse_objects.inuse_space.001.pb.gz
pprof.mediamtx-250911.goroutine.001.pb.gz
pprof.mediamtx-250911.samples.cpu.001.pb.gz
goroutine

Heap

Profile

Beta Was this translation helpful? Give feedback.
All reactions