PDFMerger icon indicating copy to clipboard operation
PDFMerger copied to clipboard

Allowed memory size exhausted

Open RitzenthalerF opened this issue 2 years ago • 1 comments

Hi there, I'm trying to implement PDFMerger and I'm getting the error below:

PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /web/Classes/PDFMerger/tcpdf/tcpdi_parser.php on line 898

This doesn't occur for every merge, mostly 1-3 files work fine, but as soon as I run it on 5-20 files, I'm getting this error. I couldn't figure out what causes this error, because mostly I'm merging files below 1MB. Is this issue known in any way?

Thanks a lot in advance!

Best wishes, Frederik

RitzenthalerF avatar Jun 14 '23 06:06 RitzenthalerF

Hi, I have same issue. 20 to 30 files and "PHP Fatal error: Allowed memory size "

jmarxuach avatar Aug 02 '24 17:08 jmarxuach