[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [krita] [Bug 331592] Painting with brushes slowly fills up memory
From:       vanyossi <ghevan () gmail ! com>
Date:       2014-03-18 5:24:20
Message-ID: bug-331592-17878-Vbal1XFHN1 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

--- Comment #6 from vanyossi <ghevan@gmail.com> ---
Created attachment 85623
  --> https://bugs.kde.org/attachment.cgi?id=85623&action=edit
cmake config log

I think I found the source of my problem. It's not a leak, just a nasty bug,
possibly related to build options.

I can't turn off Actions/Macros recording. On a fresh start pressing "save all
actions" in the menu "tools > recording" I get a 19 bytes file. But after 10
strokes the file grows to 1.2megs. I get to this conclusion after working half
an hour on a 4000x1800 document. On a fresh start on that file Krita uses 780MB
memory, but after working for about 35 minutes the same file (2 layers, one bg
and one empty) uses 1.3GB. Pressing "Save all actions" gets me, to my surprise,
a 634MB file which is exactly the memory surplus.

I tried to turn off recording pressing "stop recording actions" before
beginning to work, but even like this pressing "save all actions" gets me a
file with contents. (4.2Megs for a few strokes)

So it's not a leak as the program is not loosing memory into oblivion, but I
don't need to be recording at all times. This could be a problem with my build
because recorded actions does nothing if I select "Macross > Open and play" How
can I prevent this recording to even happen? it eats memory and after long
periods it makes screencasts impossible.

I attach my cmake configure options and log.

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic