I'm using mPDF library to create and download PDF files, for example x1000 (singly using ajax) in loop.
Sometimes I get error message for series of files "Allowed memory size of 268435456 bytes exhausted (tried to allocate 261900 bytes)"
. I read that I have to set bigger memory_limit in configuration but I can't do this, because 256M is my limit.
Is there any other solution for this error?