RAM USAGE scary

Hi

There’s a warning provided by @Lilly_Mist

Here, you can read a talk we had about this brush pack

In synthesis, in the brush pack there’s a lot of animated high-quality brushes.
Once loaded by Krita, theses brushes are probably stored uncompressed in memory.

Looking for example brush “LMcb Trees mixed” which refers to “Trees4”, brush size in memory is 124MB (21 frames of 1238x1251 pixels)
So for 20 brushes like this, it already took ~2.4GB RAM

The thing now, I’m not sure Krita load all brushes in memory unless brush is used: normally no, but i’m not an expert about internal Krita’s code.

May be, can also depend of plugins.

Concerning plugins, they use Krita’s API.
So a plugin can’t be considered as “poorly” designed just by using API.

On my side, I’ve already opened a bug about API related to resources:
https://bugs.kde.org/show_bug.cgi?id=473311

Except to not use API (possible but not recommended), plugin that need to access to resources can be a source of slowness and memory consumption…

Grum999