boazsegev / combine_pdf

A Pure ruby library to merge PDF files, number pages and maybe more...
MIT License
733 stars 154 forks source link

Combine many files at the same time and memory usage #224

Open cesarjr opened 1 year ago

cesarjr commented 1 year ago

Hi!

Is there a way to use better the server memory when combining many files at the same time?

We're are receiving Memory quota exceeded error from Heroku when we try to combine 90 files - each one with 1 page.

It'd be very nice if we could append directly to the disk each pdf instead of doing this in memory.

Thanks.