WHMCS Fatal error: Out of memory while View Invoice PDF
- by prakash
I can log into WHMCS & can access everything I should be able to access, but if i try to click View PDF Invoice, the following error will occur,
Fatal error: Out of memory (allocated 67633152) (tried to allocate 76
bytes) in
/home/xxxx/public_html/whmcs/includes/classes/class.tcpdf.php on line
8419
I have already set the allocated Memory limit to 256MB, but the error still occurs.
At that time of the error, the process memory is exceeding the allocation I set. I checked log file, and found the following errors:
#2 /home/xxxxx/public_html/client/includes/classes/class.tcpdf.php(8453): TCPDF->Image('/home/xxxxx/...', 20, 25, 75, 17.5816023739, 'PNG', '', '', false, 300, '', false, 8)
#3 /home/xxxxx/public_html/client/includes/classes/class.tcpdf.php(7881): TCPDF->ImagePngAlpha('/home/xxxxx/...', 20, 25, 337, 79, 75, 17.5816023739, 'PNG', '', '', false, 300, '', NULL)
While I was investigating the issue above I also noticed the error condition pictured below: