Allowed memory exhausted


I’m hosting InvoicePlane on iPage as subdomain which works fine until I send invoices to email or try to generate PDF of any invoice.

Error message:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 72 bytes) in /xxx/xxxx/xxxx/xxxx/ipg.myname/ on line 4656

For emails I’ve tried Sendmail and PHP Mail with no success.
No sucess with "Download PDF"
Added Custom Fields invoice (see screenshot)
Guest link works fine.

Please help, I’m new to InvoicePlane.


just added

ini_set('memory_limit', '128M');

at the top of index.php and everything is working fine now