https://bugs.kde.org/show_bug.cgi?id=412740

            Bug ID: 412740
           Summary: Krita leaks memory on exporting multiple pages from
                    the comics manager
           Product: krita
           Version: 4.2.6
          Platform: Appimage
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: General
          Assignee: krita-bugs-n...@kde.org
          Reporter: rag...@ragtag.net
  Target Milestone: ---

SUMMARY

When exporting multiple pages from the Comics Manager, Krita does not free up
the memory used by each page. This becomes problematic when you have 30 plus
high resolution pages, as Krita will run out of memory and likely crash.

I suspect that this is not a problem with the Comics Manager, but with Krita
itself.


STEPS TO REPRODUCE
1. Create a new comics
2. Populate it with a bunch of pages (4000x6000)
3. I've been using ACBF option, and have "panels" Vector layer, but I'm not
sure it's relevant 
4. Export the comic to CBZ
5. Watch as the memory slowly gets eaten up

OBSERVED RESULT
For each page exported, the memory usage gradually increases. If you have
enough pages, your machine will eventually run out, and Krita crashes.


EXPECTED RESULT
Krita should free up the memory used after exporting each page.


SOFTWARE/OS VERSIONS
Ubuntu: 18.04
Tested with both Ubuntu/Gnome DE and OpenBox

ADDITIONAL INFORMATION
Tested in 4.2.6, as 4.2.7 was very slow at opening pages. This bug has been
around since the Comics Manager was first introduced, so I suspect it's still
in 4.2.7. :)

Setting the Settings>Configure Krita>Performance>Memory Limit higher will let
you export more pages. I have it set to 90% on my 24 gig machine, which can
manage around 55 pages at 4000x6000 resolution, before I have no RAM left.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to