| Summary: | Git master 2015-08-07 - Massive memory leak on file loading. | ||
|---|---|---|---|
| Product: | [Applications] kdenlive | Reporter: | Evert Vorster <evorster> |
| Component: | User Interface & Miscellaneous | Assignee: | Jean-Baptiste Mardelle <jb> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | Keywords: | triaged |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Evert Vorster
2015-08-07 14:55:08 UTC
Confirmed, will try to work on it on sunday.. I am still able to crash my system reliably with large file loads. I have a directory with about 300 clips, totalling 71Gb. When I load this directory into Kdenlive, the memory seems to be much better managed now, with none of my swap being consumed. I am actually able to save this kdenlive file as well. However, if I select "File" then "New" something completely strange happens: In the console I can see thousands of new threads being spawned, and the system quickly chews through 32Gb of swap. (I have my swap on an SSD, it's pretty slick) Then the OOM killer comes around, and it's the end of that kdenlive session. I still hit this bug. It's a little worse for me now, as I run Kdenlive in a virtual machine on a laptop, so I run out of memory a lot quicker. However, I was playing on a monster of a machine a little while ago that has 64Gb of RAM. I still managed to make Kdenlive crash because it ran out of memory. I have a lot of 4K footage, and because it was taken with a GoPro, I end up with several 3.7Gb files that I normally load sequentially. Unfortunately, Kdenlive does not release the memory of a loaded file, even when the file is removed from the Project Bin. The only way to reclaim that memory is to close the running instance of Kdenlive. Using proxy clips seems to ease the memory pressure, but adds a new wrinkle. If adding a huge number of clips at the same time, it looks like kdenlive loads all the clips into memory with no regard of how much memory is left on the machine. As each proxy clip is produced, the required memory is lessened, so kdenlive is on the right track... Kdenlive also does not return the memory of clips that are removed from the project bin. Doing that would already be a huge step towards proper memory management Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! I have not seen this issue in a while. |