https://bugs.kde.org/show_bug.cgi?id=501561
Bug ID: 501561
Summary: Even a small animated JXL causes krita to take up
dozens of GB, leading to OOM
Classification: Applications
Product: krita
Version: 5.2.9
Platform: Arch Linux
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Resource Management
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 179444
--> https://bugs.kde.org/attachment.cgi?id=179444&action=edit
Xfce4 taskmanager showing a few processes like krita and gimp memory usage
SUMMARY
When I open a animated JXL in krita via the terminal then my systems will run
out of memory.
Not happening with single-frame JXL files.
In the terminal output I see:
Invalid profile : "/usr/share/color/icc/colord/Crayons.icc"
Invalid profile : "/usr/share/color/icc/colord/x11-colors.icc"
Loading plugin "/usr/lib/kritaplugins/kritaseexprgenerator.so" failed, "Die
Bibliothek /usr/lib/kritaplugins/kritaseexprgenerator.so kann nicht geladen
werden: (libKSeExprUI.so.4: Kann die Shared-Object-Datei nicht öffnen: Datei
oder Verzeichnis nicht gefunden)"
krita.general: ERROR: no sample brush found in
"/home/duda/.local/share/krita/smudge_blur_mignon.abr"
QObject::startTimer: Timers cannot have negative intervals
dlopen: /usr/lib/libheif/libheif-svtenc.so: undefined symbol:
_Z21get_subsampled_size_vj12heif_channel11heif_chroma12scaling_mode
JXL file was marked as animation but it has only one frame.
STEPS TO REPRODUCE
0. Open something that shows RAM usage
1. In terminal: krita animation.jxl
2. Wait a few seconds
OBSERVED RESULT
RAM usage spike of several dozend GB until I run OOM within a few seconds,
leading to a system freeze.
EXPECTED RESULT
krita opened with the JXL and only a few hundred mega of memory usage
SOFTWARE/OS VERSIONS
Qt Version: 5.15.16 & 6.8.2
ADDITIONAL INFORMATION
The animated.jxl got created by ffmpeg -i test.mkv -c libjxl_anim -f image2pipe
-effort 5 -distance 0.5 animated.jxl (latest ffmpeg static from master; md5sum
of archive: 812a4c55be70f1948ebfdcdee71397a9)
The input file itself is below 1M big. animated.jxl is 11M big and has 49
frames.
gimp manages to keep its RAM usage under 1 GiB with the file open; krita just
continues to grow.
(Stopped the process before taking the attached screenshot that's why the CPU
usage is 0 %)
--
You are receiving this mail because:
You are watching all bug changes.