Bug 437122 - Ram Leak in kdenlive when playing video.
Summary: Ram Leak in kdenlive when playing video.
Status: CONFIRMED
Alias: None
Product: kdenlive
Classification: Applications
Component: Monitors & Playback (other bugs)
Version First Reported In: 21.04.0
Platform: Other Microsoft Windows
: NOR crash
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2021-05-14 23:12 UTC by jjj333.p.1325
Modified: 2024-10-26 13:39 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:
fritzibaby: Brainstorm+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jjj333.p.1325 2021-05-14 23:12:04 UTC
SUMMARY:
Ram leak in kdenlive when playing video (not rendering, but playing in the editor--also happens when scrubbing around)

STEPS TO REPRODUCE
1. open kdenlive portable (windows) and put a video on the track
2. make sure taskmanager is open to observe the crispy 😘👌
3. hit play and watch ram usage go insane

OBSERVED RESULT
ram usage keeps getting larger. I have 16 gb of ram and its going to like 12 gb of swap usage before my pc gets so slow I have to close kdenlive

EXPECTED RESULT
doesnt do ^^^ when playing video

SOFTWARE/OS VERSIONS
Windows: 10, 20h2, 19042.985

ADDITIONAL INFORMATION
feel free to send me an email (it says my email is public) if you have any questions, because its open source and im a programmer i may try to take a look but i dont have high hopes as im fairly noob to it.

And for those of you wondering on why it takes 12 gb of swap to slow my pc its because i use a 970 pro ssd 🥰.
Comment 1 jjj333.p.1325 2021-05-14 23:17:59 UTC
okay yeah i have no chance knowing how code confused aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Comment 2 jjj333.p.1325 2021-05-14 23:22:10 UTC
oh i also forgot it only does this on windows, when running on my laptop (debian kde plasma) it is fine. also if whoever is taking care of this feels in a patient mood I would like to know what in the code went wrong as I am trying to learn as much as possible and c++ is my recent desired lang. I sorta know javascript 🤷‍♂️.
Comment 3 emohr 2021-05-15 09:37:42 UTC
Thank you for the report. We are aware of the RAM issue: https://invent.kde.org/multimedia/kdenlive/-/issues/970 . A solution could that WIP https://invent.kde.org/multimedia/kdenlive/-/merge_requests/216 . 

If you have a solution let us know.
Comment 4 jjj333.p.1325 2021-05-16 00:38:38 UTC
Hey, thanks for not immediately shooting down my report, thats what usually happens to me...

I will let you know if I do find a solution however I wouldn't hold my breath as I'm way too noob to even understand half the code and I'm really busy with school rapping up. Like I said I would be interested in staying in the loop if anyone else figures it out.