Author Topic: Fatal Error: Allowed memory size...  (Read 1454 times)

gwhite

  • Posts: 2
    • View Profile
Fatal Error: Allowed memory size...
« on: August 25, 2006, 04:31:01 pm »
When a user confirms from the email they are getting this message returned.  I have an attachment on the next email that goes out(welcome email), does it have to completely reside in memory?

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 1066285 bytes) in /usr/local/www/vhosts/healthstatus.com/htdocs/hs_mail/mimepart.php on line 216

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Fatal Error: Allowed memory size...
« Reply #1 on: August 25, 2006, 09:18:40 pm »
Quote
does it have to completely reside in memory?

I think it does... The file is read and the message is created.  The entire message needs to be held in a variable before sending.

I don't recommend sending attachments, especially large ones, as they can severely affect performance of the mail software.  Instead, I encourage including a link to the file hosted on your web site.

Regards
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting