I am using TCPDF library to generate report on one of my application. When ever i generate PDF using TCPDF, chunk of memory get allocated like 256MB & after generating the PDF, that allocated memory is not getting free.
This is blocking around 2GB memory. So the final solution which i have is change the TCPDF lib with other lib.
Can anybody knows why TCPDF allocates the memory or is there any way to flush the memory after the pdf generation?