-
-
Notifications
You must be signed in to change notification settings - Fork 186
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
memory leaks? #776
Comments
I I'm running 16 RTSP Streams and ram usage go up pretty quick to around 2900 MB in only 15 minutes. The cache should be default be limited to 32MB but i don't think this is actually being applied. Player ply = Player();
(ply.platform as dynamic).setProperty('cache', 'no'); // --cache=<yes|no|auto>
(ply.platform as dynamic).setProperty('cache-secs', '0'); // --cache-secs=<seconds> with cache but why not.
(ply.platform as dynamic).setProperty('demuxer-seekable-cache', 'no'); // --demuxer-seekable-cache=<yes|no|auto> Redundant with cache but why not.
(ply.platform as dynamic).setProperty('demuxer-max-back-bytes', '0'); // --demuxer-max-back-bytes=<bytesize>
(ply.platform as dynamic).setProperty('demuxer-donate-buffer', 'no'); // --demuxer-donate-buffer==<yes|no>
Now it's stable and won't go over 1,688 MB after hours of running it All my memory usage numbers are in Debug mode |
@justbendev Thanks for the recovery, I'll try to see if the problem recurs, you're my hero! |
This problem still exists,increase 30M every 10 minutes when playing m3u8 media files |
It looks like these two properties are not being disposed at the media-kit/media_kit_video/lib/src/video/video_texture.dart Lines 139 to 156 in 13f6b3f
media-kit/media_kit_video/lib/src/video/video_texture.dart Lines 292 to 300 in 13f6b3f
|
leaks for the widgets have been fixed in this pr #823 checking with devtools now shows that all the widgets gets disposed correctly |
I used MediaKIt to play RTSP video streams and the memory increased to 1GiB within 3 hours. How do I set the parameters? thanks. |
sadly i think its an ffmpeg bug since it happens in mpv and fvp |
When using TCP in FVP, this bug will not occur. |
nice, glad to hear that. |
After playing the video for an hour in Windows, the content soared from 300MB to 1G. The non-caching attribute has been set. Is this a memory leak in the player?
Here is my simple code :
The text was updated successfully, but these errors were encountered: