Summary: | Importing large PDF files cause the whole desktop freeze | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Antoine <alecail> |
Component: | File formats | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | grave | CC: | alecail, halla |
Priority: | NOR | ||
Version: | 2.4 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Antoine
2012-04-01 16:35:27 UTC
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 *** |