Opened 7 years ago
Closed 6 years ago
#1456986 closed Bugs (duplicate)
PHP Fatal Error
| Reported by: | sebastienw | Owned by: | nobody |
|---|---|---|---|
| Priority: | 5 | Milestone: | |
| Component: | Other | Version: | None |
| Severity: | normal | Keywords: | |
| Cc: |
Description
When trying to send an attachment of around 1.5 Mb I get a blank page and i get this under the error logs : [23-Mar-2006 15:26:23] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 2308559 bytes) in /var/www/html/webmail/program/lib/Mail/mimePart.php on line 293 I got the next errors from some users and couldn't find how to reproduce that error : [23-Mar-2006 14:26:33] PHP Fatal error: Maximum execution time of 120 seconds exceeded in /var/www/html/webmail/program/lib/Mail/mimeDecode.php on line 455 [22-Mar-2006 19:48:52] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 1687662 bytes) in /var/www/html/webmail/program/lib/Mail/mimeDecode.php on line 388 [23-Mar-2006 11:04:37] PHP Fatal error: Allowed memory size of 10876488 bytes exhausted (tried to allocate 5280601 bytes) in /var/www/html/webmail/program/lib/imap.inc on line 1851 my /etc/php.ini memory_limit = 8M This can be a duplicate of an existing bug but i couldn't find anything already opened for these issues Seb
Change History (4)
comment:1 Changed 7 years ago by sebastienw
comment:2 Changed 7 years ago by thomasb
- Milestone 0.1-beta2 deleted
- Severity changed from critical to normal
- Status changed from assigned to new
Problem with used PEAR class used to compose multipart messages. This class has to be modified to write contents to a file instead of holding them in the memory.
comment:3 Changed 7 years ago by lancey
Trying to attach about 3 MB file ends up with the following error message:
[07-Oct-2006 17:24:15] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 7829399 bytes) in /usr/local/www/data-dist/newmail/program/lib/Net/SMTP.php on line 745
The SMTP class is trying to allocate about 8 MB (!). And the allowed limit of 32 Mbytes is ALREADY almost consumed. I suppose it's not the SMTP class to only blame for this?
comment:4 Changed 6 years ago by jpingle
- Resolution changed from None to duplicate
- Status changed from new to closed
Duplicate of #1327068
