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

java.lang.OutOfMemoryError: GC overhead limit exceeded #1

Open
VinnyV88 opened this issue Oct 2, 2017 · 5 comments
Open

java.lang.OutOfMemoryError: GC overhead limit exceeded #1

VinnyV88 opened this issue Oct 2, 2017 · 5 comments

Comments

@VinnyV88
Copy link

VinnyV88 commented Oct 2, 2017

Hi,

Thanks so much for creating this utility!

I'm running into a memory issue when trying to merge a large number of documents into one. Specifically, I'm getting the error message:

java.lang.OutOfMemoryError: GC overhead limit exceeded)

when trying to merge almost 9,000 pdf documents into a single pdf.

I know it really isn't an issue with your code, but maybe you can provide some insight on how to address this problem?

Thanks,
Vincent

@bompi88
Copy link
Owner

bompi88 commented Oct 8, 2017

Hi,

thanks @VinnyV88 , this package was intended to merge a small set of pdfs, but I can provide an option to set initial and maximum java heap settings if you want?

@VinnyV88
Copy link
Author

VinnyV88 commented Oct 8, 2017 via email

@bompi88
Copy link
Owner

bompi88 commented Oct 11, 2017

@VinnyV88 Released version 0.2.0 now, with maxHeap and minHeap options as third parameter. I'm quite busy with other stuff atm, so I havn't had the time to test whether merging 9,000 pdfs actually will work. Anyways, I released a new version for you to test out. I think I'll rewrite this package later this year with a better API, and some proper tests.

@VinnyV88
Copy link
Author

Thanks @bompi88! I'll test this out and let you know how it goes.

@bompi88
Copy link
Owner

bompi88 commented Nov 6, 2017

@VinnyV88 did you have the time to test it out?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants