Bug 318652 - Krita eats lots of memory free space whenever changing layers order, and the occupied memory cannot released.
Summary: Krita eats lots of memory free space whenever changing layers order, and the ...
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 2.6.2
Platform: openSUSE Linux
: NOR critical
Target Milestone: ---
Assignee: Krita Bugs
URL: https://dl.dropboxusercontent.com/u/1...
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-21 00:52 UTC by ono
Modified: 2013-12-17 10:33 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ono 2013-04-21 00:52:07 UTC
Krita eats lots of memory free space whenever changing layers order, and the eaten memory cannot be released.And more times you change, more spaces Krita takes.

This question often results in the whole system freezed for lack of memory if I forgot to check RAM frees (total 6GB). The only solution seems to be restarting Krita. 

It'll be released some (not complete) after I C-w to close current image, however Krita still has a strange memory occupying. The memory will be released completely when only C-q quitting Krita.

Reproduce video is here:
https://dl.dropboxusercontent.com/u/1776218/krita.mp4

Reproducible: Always

Steps to Reproduce:
Change layers order.
Krita eats lots of free RAM.
Actual Results:  
Krita eats lots of free RAM and nearly not released until quit Krita.

Expected Results:  
Changing layers shouldn't takes occupy layers without releasing.
Comment 1 Halla Rempt 2013-04-24 14:50:45 UTC
This looks related to group layers. If the layers are toplevel, memory consumption doesn't change. If you have two dozen layers inside a group, and move those about, memory consumption balloons.
Comment 2 Dmitry Kazakov 2013-05-07 11:02:44 UTC
I cannot reproduce it, could you send me a file that shows the problem?
(the video in the attachment doesn't play in my browser, i don't know why)
Comment 3 Halla Rempt 2013-05-08 11:59:59 UTC
Hi,

Which version of opensuse do you have exactly?
Comment 4 Halla Rempt 2013-12-17 10:33:31 UTC
We still use way too much memory, but the leaks are gone.