PHP4.0.7RC1 memory problem
| From: | Yasuo Ohgaki | Date: | Tue, 04 Sep 2001 04:09:03 +0000 |
| Subject: | PHP4.0.7RC1 memory problem | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-3546@lists.php.net to get a copy of this message | ||
Hi all,
PHP4.0.7RC1 has memory problem(s). One of script (I believe there are some bugs in PHP script, since I'm middle of reorganizing scripts) makes PHP dump garbage to browser. It seems dumping contents of memory. I see some header info, etc, in the garbage.
PHP outputs this message at the end of the garbage.
Fatal error: Allowed memory size of 8388608 bytes exhausted at output.c:307 (tried to allocate 180224 bytes) in Unknown on line 0
I don't get core file after I rebuild PHP with debug option enabled.
Anyway, I'll take a look at what is going on with gdb when I have time to do.
Just letting you know, there is problem.
Other than this problem, PHP 4.0.7RC1 executes part of script multiple times. This is also probably memory problem.
http://marc.theaimsgroup.com/?l=php-dev&m=99941612518076&w=2
When I checked what PHP is doing with my poorly hacked version of trace log patch, PHP calls the same user function again when it is returned.
Something must be wrong.
Yasuo Ohgaki