When I import a large PDF file, I have a lot of these messages: 1/ krita(7123)/krita (tiles) KisMementoManager::commit: Named Transaction is empty 2 /Bogus memory allocation size Then, the whole desktop become unresponsive and I have to ssh into the machine to kill the krita process.
Hi, can you send me (boud@valdyas.org) one of these files? Can you load the file in Okular?
I cannot reproduce with the pdf's I have. Please give me a link to one of these pdf's so I can check with Okular and Krita.
I could reproduce with http://www.freeinfosociety.com/media/pdf/4767.pdf I have to admit that this is a pathological case, because the problem is basically that I was asking Krita to create a 3392 layers document. I guess that with the correct amount of RAM this could be possible. But shouldn't Krita prevent the user from trying to create such a document ? The size of the document can be estimated: number of pages * depth * width * height * some constant -- if the layers use no compression in memory I don't know if it is easy to access the available RAM on a system; but you could display a little warning icon somewhere if the size is a bit huge.
Well, krita has its own swapfile implementation, so we could load really big documents. We discussed adding limits before and back then we decided not to. Krita doesn't (yet) keep the layer data compressed in memory. We could warn... But the cut-off point might be different for everyone. The file, btw, gives a 403 Forbidden
Okay, could get the file now.
This is the specific case for the generic bug 273860. *** This bug has been marked as a duplicate of bug 273860 ***