Krita has been stuck all night trying to save a document


I tried to save it last night and it still wasn’t done apparently this morning. When I tried to exit it wouldn’t let me till saving operation was done. When I told it to save again it made a second one.

Working on a very large file 12k by 10k. Only 3.2 GiB which is much smaller than the amount of swap space and ram I am giving it.

Which version of krita and which operating system are you using?

So it did eventually complete the saving operation?
What is the size of the saved .kra file?

Is your krita installation a ‘standard’ one to the C:drive (e.g. for Windows) ?
Were you saving to a folder in your own User area?
Is the folder you saved to part of a ‘live synchronised’ folder such as One Drive or Dropbox?

Do you have any or many transform masks in the image?

Can you post a full screen screenshot showing the Layers docker, ideally expanded/arranged to show all the layers?

Have you had this type of problem before or is it just this image?

Edit:Add: I’ve just made a 12,000 x 10,000 image with ten heavily painted layers that used 5.4 GB of RAM.
It Saved in 30 seconds and makes a 51MB .kra file. It opens ok and Saves again ok after some minor additions.
How much RAM do you have and how much have you allocated to krita?

I’m using the latest MacOS and Krita 5.1.0

last krita file has it at around 700 mb but in the actual app it’s showing :slight_smile:
image

yes

yes

It’s part of a Nextcloud synced folder

Can’t scroll or interact with dock now.

No, but I’m new to using Krita. Previously used photoshop for everything.

I have an M1 so I believe I have at least 16gb if not more.

Try saving to your ‘desktop’ or other folder that is not live synchronised to see if that helps.

Trying that but still getting some issues. I had to force quit without properly saving. lost my work. Trying again, and about 30 minutes later it jams again when trying to merge a layer+transform-mask down onto an empty layer. I’ve also upped the settings for swap space to 64 gb and boosted the available ram percentage a little.

Can you show a screenshot of Settings → Configure Krita → Performance → General tab?

If your image is using 3.2GB of RAM then a 64GB swap file is overkill.

Please make that a full screen screenshot.

If you hover your cursor over the RAM meter, it will expand to show more detail so please do that and post a screenshot.

If you close krita, then run it and open the .kra file, then make a small painted addition, does it then Save in a reasonable time?

Here’s a full screenshot:

It’s very slow on save and even on things like just making a flood fill with the paint bucket tool.

I’m curious about why it would already be using swap when it hasn’t even hit 50% memory?

Is it possible that other applications you may be running are consuming up to 6GB of RAM or more and there is system level swapping going on? (On Windows and Linux, that slows things down mightily.)
What does your System Monitor (or equivalent) say about total RAM use and system level swapping?
If not, I have no idea why this may be happening.
An experienced Mac user may be of some help here.

2 Likes

You use transform mask
And maybe other filter…?

Could be related to this bug:
https://bugs.kde.org/show_bug.cgi?id=458475

Grum999

2 Likes

a couple of transform masks but no filters.

Your process memory usage table is not looking good.
Chrome is a memory hog so I’d shut that down as the first thing to do.
I’m sure you can find other things that are not essential.

Krita is noted as using 10.3 GB and that usually indicated that it’s been running and you’ve been editing for some time.
One way out of that is to Save, close krita then restart and reopen.

if you delete transform mask (do a save as to not lost your original document) does it still takes hours to save or flood fill?

Grum999

Still having some trouble but I’ve managed to pare down the number of layers and and merging out the transform masks and things are getting better.

1 Like

I think it’s the system level swapping and general flooding of RAM with all sorts of other applications and services.
Would you be willing to make the .kra file available via a download link to a file sharing service/website?
If you prefer, you could send me a direct message with the link, preferably the original .kra file before you reduced the number of layers and merged out the transform masks.
I’d be interested to see how it behaves on my old Linux desktop with 16GB of RAM.
If you’d rather not do that then I can understand.

2 Likes

I’ll send you one of the original files. might be hard to send over discourse but if I can share it via nextcloud I will.

You can use

There, you don’t need an account, and any file uploaded via this royalty-free method will be deleted a month after you uploaded it.

Michelist

1 Like

@jcklpe Initially offered me a 4.3GB .kra file and I explained that I wasn’t willing to download it, let alone open in krita on my computer.
I was then offered a 717MB .kra file that I downloaded and opened.

It opens ok (but slowly) and is 12,798 x 9,600 px 8-bit RGB/A but has 16 file layers which I obviously don’t have the files for.
It has 16 paint layers with partial content (not the entire canvas size) and uses 4.7GB of RAM for the image. Total krita RAM usage is 4.9GB on first opening with 6.7GB total system RAM usage.
I could Move one of the layers (jerkily) but if I tried to paint on it then krita crashed on my poor old Linux desktop computer :frowning:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.