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

Memory leak in pdfextract #40

Open
Sytten opened this issue May 20, 2018 · 1 comment
Open

Memory leak in pdfextract #40

Sytten opened this issue May 20, 2018 · 1 comment
Labels

Comments

@Sytten
Copy link

Sytten commented May 20, 2018

I tried to extract a very large pdf (300mb) and 900+ pictures and it keeps crashing because it filled the RAM.
I will take a look very the memory leak happens, but it is very annoying.

@gdelugre
Copy link
Owner

pdfextract is quite an old script, written before I implemented object enumerators or lazy parsing. As such it probably does a lot of object copies and does not handle big files well.

Could you share the file you are trying to parse? I will try to see if I can do something. Also which version of Ruby are you using?

@gdelugre gdelugre added the bug label Jan 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants