I’ve used 4.4.8, 5.0.0 beta, 5.1.0 prealpha (several builds) but no matter how much ram I set as limit (usually 8gb), over time krita grabs more and more ram until my pc starts hanging, I really don’t understand
16gb ram/Kubuntu 21.10
I’ve used 4.4.8, 5.0.0 beta, 5.1.0 prealpha (several builds) but no matter how much ram I set as limit (usually 8gb), over time krita grabs more and more ram until my pc starts hanging, I really don’t understand
16gb ram/Kubuntu 21.10
I’m no professional, I don’t understand these subjects, but it may be because of the information you’re putting to the canvas (vector that take a while to process/brushes that take a long time to execute to the canvas/using really big dimensions size for the canvas/using the bucket/etc), somethings take more memory than others. It must be that or it’s either a bug.
If you want a solution I can give you these two that worked for me: Cut the canvas with the properties “Image” to it (it basically deletes everything that’s outside the area you’re selecting, deleting any information that may be turning into a problem for the memory) and, the other one is to close and open the same file, I’m still not certain why this happened but it does. It’s happened to me more than once that the memory had a red tint to it, closed the file and opened it again, and ta-da! : D it was green (meaning the memory is back to normal).
It is possible to accidentally make off-canvas content and in that case, as @dandelier mentioned, Image → Trim to Image Size will get rid of it for you.
However, it does seem that more and more RAM is used as you do more and more operations.
You could try reducing the size of the Undo levels at Settings → Configure Krita → General → Miscellaneous tab → Undo Stack SIze in an effort to reduce the effect.
Otherwise, doing Save then Quit then restart and reopen is the way to deal with it.
This has been mentioned before, here:
RAM vs status bar
If you’re setting 8GB as the RAM limit for krita and you only have 8GB of RAM on your computer (you don’t say how much RAM your PC has) then this will cause a problem as OS level swapping starts to happen as well as krita’s own swapping activity and things do get very slow. (On Windows, crashes happen.)
I suggest that you set the RAM limit to 2GB less than your total RAM and don’t run any other applications at the same time.
Right, I should’ve specified
I have 16gb of ram, I set half of it to krita but it eats progressively more than that until overall ram usage gets to over 15.5gb used (I kept the system monitor in view to see the progress and it’s indeed krita) and eventually everything gets choppy until I close krita.
I’ll try the suggestions offered and report my outcome, however I’m inclined to believe it’s a bug because I haven’t had this behavior happening on other art software under the same ram limit
Ok, you’re at a 50% limit and it goes above that to fill all RAM.
This was mentioned in the linked topic and it’s a puzzle.
It would need a developer to comment on this. Other people have noticed it happening on Linux and Windows.