Bug 423028 - Failed to create proxy clips when running out of memory
Summary: Failed to create proxy clips when running out of memory
Status: RESOLVED MOVED
Alias: None
Product: kdenlive
Classification: Applications
Component: Rendering & Export (other bugs)
Version First Reported In: 20.04.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL: https://invent.kde.org/multimedia/kde...
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-15 21:00 UTC by Iyán M. V.
Modified: 2021-04-23 19:13 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Iyán M. V. 2020-06-15 21:00:13 UTC
SUMMARY

Sometimes, when many videos are imported at the same time, or a new folder is set to be proxied, proxy clips failed to be create because of running out of memory.

I am using x264-nvenc encoding profile for the proxy clips.

STEPS TO REPRODUCE
1. Choose x264-nvenc as encoding profile in Settings -> Proxy clips -> Encoding profile
2. Put a few videos in a folder and then right click -> Proxy folder

OBSERVED RESULT

Two or three proxy clips start to be generated. Next one failed with the error: "[h264_nvenc @ 0x563c15416d80] OpenEncodeSessionEx failed: out of memory (10)"

When first clips are done, it doesn't try to generate the ones that failed.


EXPECTED RESULT

It would be nice if Kdenlive could know when not to start a new proxy clip because of low memory (or handle the out of memory error better, and try again when other clips are finished). Or if this is not possible, at least an option to limit the amount of simultaneous proxy clips. That also would work nice.


SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Archlinux 5.7.2 / Nvidia driver 440.82
(available in About System)
KDE Plasma Version: 5.19.0
KDE Frameworks Version: 5.71.0
Qt Version: 5.15.0

ADDITIONAL INFORMATION

16 GB RAM and Nvidia GTX 1070 (8 GB)
Comment 1 Julius Künzel 2021-04-23 19:07:06 UTC
Thanks for your report! The job management is under rewrite now. This bug should be fixed afterwards. I am going to close this bug as MOVED. See https://invent.kde.org/multimedia/kdenlive/-/issues/986
Comment 2 Julius Künzel 2021-04-23 19:13:12 UTC
*** Bug 432365 has been marked as a duplicate of this bug. ***