anyflip-downloader icon indicating copy to clipboard operation
anyflip-downloader copied to clipboard

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

Open gwoonryan opened this issue 1 year ago • 1 comments

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 avatar Oct 20 '23 14:10 gwoonryan

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 avatar Nov 04 '23 14:11 Lofter1