[krita] [Bug 363087] Swap used very heavy

2016-05-27 Thread Dmitry Kazakov via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363087

Dmitry Kazakov  changed:

   What|Removed |Added

  Latest Commit|http://commits.kde.org/krit |http://commits.kde.org/krit
   |a/59c331cd20517d201ab0a6a52 |a/447a50260802215c530f17a3e
   |a745fe5a804a9fb |d0f9e98613cdbe6
 Status|REOPENED|RESOLVED
 Resolution|--- |FIXED

--- Comment #6 from Dmitry Kazakov  ---
Git commit 447a50260802215c530f17a3ed0f9e98613cdbe6 by Dmitry Kazakov.
Committed on 27/05/2016 at 11:39.
Pushed by dkazakov into branch 'master'.

Fix leak in KisSyncLodCacheStrokeStrategy
Fixes T2745

M  +23   -21   libs/image/kis_paint_device.cc
M  +4-1libs/image/kis_paint_device.h
M  +1-0libs/image/kis_sync_lod_cache_stroke_strategy.cpp
M  +18   -0libs/image/tests/kis_update_scheduler_test.cpp
M  +2-0libs/image/tests/kis_update_scheduler_test.h

http://commits.kde.org/krita/447a50260802215c530f17a3ed0f9e98613cdbe6

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


[krita] [Bug 363087] Swap used very heavy

2016-05-26 Thread Dmitry Kazakov via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363087

Dmitry Kazakov  changed:

   What|Removed |Added

 Resolution|FIXED   |---
 Status|RESOLVED|REOPENED
 Ever confirmed|0   |1

--- Comment #5 from Dmitry Kazakov  ---
Just tested with the provided file. Memory consumption raises drastically when
the LoD mode is turned on. It should be some bug... :(

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


[krita] [Bug 363087] Swap used very heavy

2016-05-25 Thread Boudewijn Rempt via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363087

Boudewijn Rempt  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|UNCONFIRMED |RESOLVED
  Latest Commit||http://commits.kde.org/krit
   ||a/59c331cd20517d201ab0a6a52
   ||a745fe5a804a9fb

--- Comment #4 from Boudewijn Rempt  ---
Git commit 59c331cd20517d201ab0a6a52a745fe5a804a9fb by Boudewijn Rempt.
Committed on 25/05/2016 at 12:55.
Pushed by rempt into branch 'master'.

The QStandardPaths code to get a swap dir resulted in an empty
path, which got replaced by QDir::tmpPath() in KisSwappedDataStore.

That's to say; if the user didn't configure a swap location, we'd
still use swap, so that isn't the problem. But we didn't show the
location in the preferences dialog.

So, use the same code to get the temp path for swap in both cases.

M  +2-2libs/image/kis_image_config.cpp

http://commits.kde.org/krita/59c331cd20517d201ab0a6a52a745fe5a804a9fb

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


[krita] [Bug 363087] Swap used very heavy

2016-05-16 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363087

--- Comment #3 from akelunp...@gmx.fr ---
@Boudewejin Rempt : Well, I'm not sure about a "bug in 2.9.11 memory reporting"
because 2.9.11 runs perfectly for me, I have troubles with the 3.0 Beta only.
And also, about the memory, as you're talking about: my file take 3 G of memory
only in the 2.9.11 and the double (6.2 G) in the 3.0 Beta, which also give me
troubles to work on my file in the 3.0 Beta. ~ Maybe I should open another
bug request about this? ~
Here, you can see what I mean:
- 2.9.11: http://sta.sh/0y0e0ken84f
- 3.0 Beta: http://sta.sh/02dk73fa66da


@Boudewejin Rempt & @ Dmitry Kazakov : If needed, yes, I can send you the file
I used to test (Note that I tested it with "set horizontal mode" activated in a
new layer). But I prefere indeed to send it by mail. If any Krita developers
need it, they could ask me.
Also, about the "swap file location", here is what I mean when I said it wasn't
added by default in Krita 3.0 Beta and that I managed to fix the problem by
copy -paste the swap file location of Krita 2.9.11 in Krita 3.0 Beta:
- 2.9.11 by default: http://sta.sh/0282ch23515f
- 3.0 Beta by default: http://sta.sh/01pt2mad4l5o
So, I copied "C:/Users/Utilisateur/AppData/Roaming/krita/tmp-/krita" and I
think I fixed the problem this way... But I have some doubts about it now,
because I continued to test a bit and... I really don't understand how the Swap
used works.
I have to be honest, I don't even know what is the "Swap" or what is better
between a light "Swap used" or a heavy one? I just had the feeling when I
tested and managed to get the same Swap used than Krita 2.9.11 in 3.0 Beta that
it worked a bit better and faster, but I can't be sure and still wonder what
makes the "Swap used" heavy or light. =/


So, I hope I managed to explain the problem better and coherently. I try my
best as English isn't my native language. ^^
If you need more precisions, don't hesitate to ask. I will send you my .kra
file by mail, but I'll probably have to share it to you by uploading it in
uplea.com because the file weighs 76.12 Mo.


Thank's for your fast answers. ^^

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


[krita] [Bug 363087] Swap used very heavy

2016-05-15 Thread Dmitry Kazakov via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363087

Dmitry Kazakov  changed:

   What|Removed |Added

 CC||dimul...@gmail.com

--- Comment #2 from Dmitry Kazakov  ---
Hi, akelunprod!

Thank you for your report! Can I ask you either to attach an original testing
file, or, if it is not for publishing, send it directly to my email
(dimul...@gmail.com)? It would help me a lot to find out what is wrong with the
swapping, and is it wrong at all.

Could you also give more details about this line?

"I think I managed to correct it though by adding the "Swap file location" of
Krita 2.9.11 in the performance tab of the krita 3.0 Beta preferences."

What exactly did you mean by that? Did you change any option and the swapping
stopped?

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


[krita] [Bug 363087] Swap used very heavy

2016-05-15 Thread Boudewijn Rempt via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363087

Boudewijn Rempt  changed:

   What|Removed |Added

 CC||b...@valdyas.org

--- Comment #1 from Boudewijn Rempt  ---
I rather suspect a bug in 2.9.11 memory reporting. If you can send me the
original .kra I can try to verify, but your file would take about 5gb in
memory. I'm also not sure what you mean by "swap file location" is added by
default " -- Krita has a swap file enabled by default.

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