|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12667 Memory Hole Problems
Submitted: 2001-08-08 19:52 UTC Modified: 2002-05-28 13:03 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: j dot alberti at dongleware dot net Assigned:
Status: Not a bug Package: IMAP related
PHP Version: 4.0.6 OS: Linux 2.2.16
Private report: No CVE-ID: None
 [2001-08-08 19:52 UTC] j dot alberti at dongleware dot net
DEAR PHP TEAM, MANY THANKS AND "YOU HAVE DONE GREAT WORK". I'm sure you know ;-). But i have (found) a problem. ;-) Please give me a feedback, Thanks.


$envelope["subject"]="while testing";


$part3[""]="Look at this\n\n\t";





while ($i <= 500) {
        echo "$email\n\n";

'./configure' ('--with-apache=../apache_1.3.12' this one is is not a module, is running as a cron job) '--enable-ftp' '--with-mysql=/usr/local/' '--with-pdflib' '--with-jpeg-dir' '--with-png-dir' '--with-tiff-dir' '--with-zlib' '--with-imap=/usr/src/packages/SOURCES/imap-4.7/c-client/'

The Memory usage percentage growth and growth while loop is running. Please give me a feedback.

I workaround the problem, now with base64_encode and little scripting for header of parts (about 30 lines)// email me if you want it ;-), and the memory usage with a 2MB file is stable at 1.1 % with imap_mail_compose it starts with about 8% and the VM kills it after 70 loops sending mail not only generate at about 80%, my computer does have 192M RAM.

Best regards,



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-28 13:03 UTC]
Thank you for taking the time to report a problem with PHP.
Unfortunately your version of PHP is too old -- the problem
might already be fixed. Please download a new PHP
version from

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Mar 03 03:01:28 2024 UTC