Skip to content
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

out of memory: cannot allocate 511705088-byte block (1283325952 in use) #25

Open
gwoonryan opened this issue Oct 20, 2023 · 1 comment
Assignees
Labels
Low priority Issues with a low priority that might eventually be worked on in the future

Comments

@gwoonryan
Copy link

Describe the bug
I Just installed this tool, and it worked great for one document, but not so great for another.
I got an out of memory error after the "converting to pdf" message.

OS: Windows

To Reproduce
Steps to reproduce the behavior:
I downloaded a file from this link:
https://online.anyflip.com/ghvwd/sbeq/mobile/index.html

Expected behavior
I expected it to convert the images to a PDF.

Additional context
The document is pretty big, maybe that's the issue?
error.txt

@gwoonryan gwoonryan added the bug Something isn't working label Oct 20, 2023
@Lofter1
Copy link
Owner

Lofter1 commented Nov 4, 2023

I'm sorry, but I'm not sure I can actually help with that. Yes, the converting process takes a bit more than 1gb of memory for 300+ pages it seems. But this is done through an external library. The only thing I can try is finding a more memory efficient image to PDF converting library.

@Lofter1 Lofter1 added Low priority Issues with a low priority that might eventually be worked on in the future and removed bug Something isn't working labels Nov 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Low priority Issues with a low priority that might eventually be worked on in the future
Projects
None yet
Development

No branches or pull requests

2 participants