Comments (11)
Without bothering to check if there's any leak for me, here are the related looking commits in that timeframe if anyone wants to look into it.
from mpv.
i opened several issues on this subject ... the problem is real and you always close without investigations ... it leaks approx 1 MB at each instance
from mpv.
Oh so actually I can confirm this happens but it's only with luajit. That would explain why people in the old issue couldn't reproduce it reliably.
from mpv.
Does it also happen if you compile luajit with -DLUAJIT_USE_SYSMALLOC
, they have their own allocator. I don't know the details, but maybe it doesn't release memory right away, and this is what you see.
from mpv.
maybe it doesn't release memory right away
Did not try messing with luajit yet, but this is almost certainly what is happening. ASAN doesn't report any leaks.
from mpv.
is this related to our topic?
LuaJIT/LuaJIT#1179
from mpv.
is this related to our topic?
Unfortunately I am using luajit from git master which includes the fix for that issue and the problem still occurs.
Does it also happen if you compile luajit with -DLUAJIT_USE_SYSMALLOC,
Unless I'm doing it wrong, yeah it still happens with this.
My bad, wrong compile. It indeed doesn't happen with that flag.
from mpv.
is it possible to use the flag -DLUAJIT_USE_SYSMALLOC with the official win release of libmpv? do we have to ask it to shinchiro?
from mpv.
Will be fixed by #14457
from mpv.
hello, could you please reopen this issue?
#14457 has fixed the memory leak but after this commit there is 1 leak handle at each new mpv instance (that was not present before the #14457 )
@kasper93 could you please check if in your commit there is an handle that is not closed?
from mpv.
Thanks for the quick fix! Can confirm that the leak is gone in the latest zhongfly build.
from mpv.
Related Issues (20)
- Scaled display with wayland dmabuf: video is offset to bottom with only upper blackbar HOT 1
- No video output with dmabuf_wayland on GTX 1080 HOT 4
- osd-back-color IGNORED HOT 2
- MPV_RENDER_PARAM_ICC_PROFILE requires use of internal bstrdup method HOT 1
- Jerky video/dropped frames when playing 4k60 video with vo=dmabuf-wayland when the OSD is shown HOT 11
- Watch-later using m3u HOT 9
- With integer subset of ubsan on, Haruna sometimes crashes in libmpv HOT 2
- Subtitles support for livestream HOT 2
- SDR in HDR mode looks washed out. Fix inside!
- There needs to be a way to elevate black levels HOT 8
- gpu-next: AV1 film grain shader flips luma plane on OpenGL ES HOT 1
- Example inputs for musical pitch transposition. HOT 4
- `mpv` is (unexpectedly) maximized on GNOME and the `window-scale` option does not work HOT 4
- No audio when playing audio only files HOT 9
- d3d11-output-csp in auto profile cause window flash HOT 6
- Is it possible to attach a reverb to this player? HOT 1
- HI! GL Extensions not supported. GL_ARB_shader_objects HOT 5
- Slow cache read speeds over high latency (but suitable bandwidth) samba share HOT 16
- `play_current_file` called twice for the first file when using --autocreate-playlist
- mpv fails to playback 1 channel raw PCM HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mpv.