"Freeing memory" HTTP Error log...
| From: | Mike Gammon | Date: | Thu, 22 Jul 1999 13:18:10 +0000 |
| Subject: | "Freeing memory" HTTP Error log... | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-2546@lists.php.net to get a copy of this message | ||
I'm getting this inside my httpd error log and while I haven't delved too
much into what may be causing it, I'm assuming it's due to PHP4
automatically deallocating memory from a while() loop executing
mysql_fetch_array($sth). I inserted a mysql_free_result() inside the PHP
code and I still receive the message (note that I never looked at the error
log for this before). Looking at main.c it falls inside of the following:
if (message==ZMSG_MEMORY_LEAK_DETECTED)
Again, not sure if this is due to the new features or not because it falls
within the
" if (EG(error_reporting)&E_WARNING) { " statement and may just be
debugging stuff.
- error_log snippet....
/home/httpd/html/saf/site/album/m_album.shtml: Freeing 0x082F0200 (1
bytes), allocated in main.c on line 935<br>
/home/httpd/html/saf/site/album/m_album.shtml: Freeing 0x082ED780 (20
bytes), allocated in main.c on line 933<br>
- Mike Gammon