-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dangerzone fails mid-way through conversion, claiming I have run out of space #518
Comments
Hm, from this log, we see two things:
If it's a typical PDF document, point (1) tells us that it fails after writing ~200MiB of data (1 A4 page x 72 DPI x 3 color channels ~= 1.5MiB). Point (2) may be more interesting. The mounted directory that runs out of space is a temporary directory. This means that it may be backed by an in-memory filesystem, and thus limited by your available RAM. So, to debug further can you:
|
Yes that works. (6 page pdf)
Also, I have only 8GB of RAM. /tmp size in df -h:
It would be nice if we could specify the temporary directory used. |
Thanks for the command output @pizzadude . I'd like to zoom into the last part:
Was this output taken while Dangerzone was running? Does it reach to 100% at some point? If not, and it's the
I can suggest some options for you:
|
Hi @pizzadude. Just note that I have opened a related issue to this: #526 It seems that my assumption was wrong:
By default, the A4 pages seem to be converted to pixels with 150 DPI, whereas I assumed we used 72 DPI. The former results to a page size of 6.22 MiB, which is much closer to the one you reported. If you can help us a bit with this part:
then we can be 100% sure that this is the issue that affects you. It's ok if you have switched to something else, we plan to solve this regardless. Thanks again for letting us know 🙂. |
Hi, sorry for the late reply.
It was after running dangerzone and trying to convert a few times. This is my current tmpfs, I haven't run dangerzone at all in the 5 hours of uptime I have:
I hope that helps. Let me know if you need any more info. |
Thanks a lot for the output. So, Dangerzone starts with 3.8GB of RAM, and at some point eats it all 😱 ? I start to think that something else is at play here as well... A few more questions:
Feel free to reply with more details here, or reach out to my GitHub username [at] gmail.com. |
Hi, I don't want to share the documents, but I just tried to convert them again and it worked this time. I'm not sure why it worked this time, but that's good news I guess. Here's pdfinfo of both documents though:
|
I get this error message (seen in the picture above) when trying to convert a PDF with the latest dangerzone ( 0.4.2 ) on Fedora 38, it claims there is no space left on the device, but I have plenty of space available still.
This might be related: #517
The text was updated successfully, but these errors were encountered: