Registered Member
|
Hello,
I'm creating a file with a size 4 000 x 90 000p and in the process of file saving Krita crashes. Any fix? |
KDE Developer
|
No... A file like that will just take enormous amounts of memory, more than can be handled even with swap files and virtual memory. If you're into astronomy photo's or mega scans of paintings, vips probably is the right tool for you. |
Registered Member
|
Well I can create and draw succecifully in SAI with that resolution. It's just 1,4 GB or Ram, but when yo uare saving the file it crashes in Krita. |
KDE Developer
|
Hi, it turned out that there is in fact a problem in Krita for such big files. It looks like when the file is bigger than 65.535 pixels in any direction, then while trying to scale the image down to 256x256 pixels (to get a preview), it calculates the scale and the scale ends up later being 0., which of course leads to dividing by 0.
Since I checked it and got a crash log, I made a bug report here: https://bugs.kde.org/show_bug.cgi?id=432182 . You can subscribe to it if you're interested in getting updates when it's fixed etc. It looks like for now it's better to just not make canvases bigger than 65k pixels in any dimension :/ (The RAM concern is still a thing though - it does take 1.4GB for one fully painted layer, plus 1.4GB for projection, plus the RAM Krita takes just for opening (~0.5GB I believe?), plus the undo stack and any other things like that. If you wish to paint on such big canvases, make sure that the Swap File Size in Configure Krita -> Performance is as big as you can make it). |
Registered Member
|
Wow, thank you for the help! Fill follow that thread and thanks for that note about swap file size. |
Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]