memory leaks
| From: | Jade Nicoletti | Date: | Thu, 04 May 2000 12:25:11 +0000 |
| Subject: | memory leaks | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-14458@lists.php.net to get a copy of this message | ||
Hi
I'm getting huge memory leaks. I'm using a recent CVS version of PHP4/Zend.
Here's my "top" output (after _only one_ page was served):
PID USER PRI NI SIZE RSS SHARE STAT LIB %CPU %MEM TIME COMMAND
19412 nobody 0 0 14088 13M 3632 S 0 0.0 11.0 0:04 httpd
And here is the apache error log / debug output:
[Thu May 4 12:13:44 2000] [notice] Apache/1.3.12 (Unix) mod_ssl/2.6.3 OpenSSL/0.9.3a configured --
resuming normal operations
zend_hash.c(959) : Freeing 0x0843AD3C (8 bytes), script=/myscript.php
Last leak repeated 3 times
zend_operators.c(923) : Freeing 0x0843C724 (15 bytes), script=/myscript.php
Last leak repeated 23 times
zend_hash.c(391) : Freeing 0x0843C39C (35 bytes), script=/myscript.php
Last leak repeated 2477 times
zend_hash.c(185) : Freeing 0x0843C1CC (20 bytes), script=/myscript.php
Last leak repeated 101 times
zend_execute_API.c(534) : Freeing 0x0843C16C (48 bytes), script=/myscript.php
zend_variables.c(148) : Actual location (location was relayed)
Last leak repeated 1274 times
# --> seems like this eats up a lot of memory:
zend_hash.c(255) : Freeing 0x0843C114 (40 bytes), script=/myscript.php
Last leak repeated 62695 times
zend_execute_API.c(531) : Freeing 0x0843BF74 (12 bytes), script=/myscript.php
Last leak repeated 1274 times
./zend_execute.c(413) : Freeing 0x0843BB6C (12 bytes), script=/myscript.php
Last leak repeated 4986 times
./zend_execute.c(1752) : Freeing 0x0843B9AC (12 bytes), script=/myscript.php
Last leak repeated 101 times
./zend_execute.c(1135) : Freeing 0x0843B7BC (12 bytes), script=/myscript.php
Last leak repeated 44 times
zend_API.c(605) : Freeing 0x0843B114 (12 bytes), script=/myscript.php
Last leak repeated 59 times
zend_API.c(661) : Freeing 0x0843B0DC (12 bytes), script=/myscript.php
Last leak repeated 140 times
php_imap.c(2652) : Freeing 0x0843A394 (922 bytes), script=/myscript.php
Last leak repeated 19 times
zend_API.c(665) : Freeing 0x0843CB24 (8 bytes), script=/myscript.php
Last leak repeated 140 times
./zend_execute.c(1756) : Freeing 0x08438B7C (48 bytes), script=/myscript.php
zend_variables.c(139) : Actual location (location was relayed)
Last leak repeated 33 times
./zend_execute.c(704) : Freeing 0x0842B85C (12 bytes), script=/myscript.php
Last leak repeated 7 times
./zend_execute.c(1571) : Freeing 0x08434054 (12 bytes), script=/myscript.php
Last leak repeated 61 times
zend_operators.c(932) : Freeing 0x0842C76C (43 bytes), script=/myscript.php
Last leak repeated 41 times
./zend_execute.c(1788) : Freeing 0x0840C04C (12 bytes), script=/myscript.php
Last leak repeated 23 times
zend_hash.c(425) : Freeing 0x08BE96CC (212 bytes), script=/myscript.php
Last leak repeated 1214 times
./zend_execute.c(1913) : Freeing 0x08BE91A4 (48 bytes), script=/myscript.php
zend_API.c(209) : Actual location (location was relayed)
Last leak repeated 1207 times
./zend_execute.c(681) : Freeing 0x0856D014 (48 bytes), script=/myscript.php
zend_API.c(189) : Actual location (location was relayed)
Last leak repeated 7 times
./zend_execute.c(405) : Freeing 0x0856CFBC (43 bytes), script=/myscript.php
zend_variables.c(126) : Actual location (location was relayed)
Last leak repeated 34 times
./zend_execute.c(402) : Freeing 0x0856CE14 (12 bytes), script=/myscript.php
Last leak repeated 35 times
./zend_execute.c(675) : Freeing 0x0856B504 (12 bytes), script=/myscript.php
Last leak repeated 7 times
zend_execute_API.c(314) : Freeing 0x0853E3E4 (12 bytes), script=/myscript.php
Last leak repeated 1 time
zend_execute_API.c(297) : Freeing 0x0853E374 (12 bytes), script=/myscript.php
Last leak repeated 35 times
zend_API.c(420) : Freeing 0x08566BD4 (12 bytes), script=/myscript.php
Last leak repeated 1192 times
zend_builtin_functions.c(419) : Freeing 0x083FE8FC (9 bytes), script=/myscript.php
Last leak repeated 3 times
zend_compile.c(1742) : Freeing 0x083830EC (12 bytes), script=/myscript.php
Last leak repeated 8 times
string.c(153) : Freeing 0x0837F8DC (18 bytes), script=/myscript.php
Last leak repeated 5 times
zend_compile.c(1551) : Freeing 0x0837DFDC (12 bytes), script=/myscript.php
Last leak repeated 39 times
string.c(1783) : Freeing 0x08315524 (4 bytes), script=/myscript.php
Last leak repeated 8 times
./zend_execute.c(2233) : Freeing 0x08377F5C (12 bytes), script=/myscript.php
Last leak repeated 2 times
./zend_execute.c(1703) : Freeing 0x08372F64 (12 bytes), script=/myscript.php
Last leak repeated 3 times
./zend_execute.c(1966) : Freeing 0x08371434 (12 bytes), script=/myscript.php
Last leak repeated 4 times
./zend_execute.c(1969) : Freeing 0x083713AC (9 bytes), script=/myscript.php
zend_variables.c(126) : Actual location (location was relayed)
Last leak repeated 4 times
./zend_execute.c(1681) : Freeing 0x08374F2C (12 bytes), script=/myscript.php
./zend_execute.c(1943) : Freeing 0x0836F16C (48 bytes), script=/myscript.php
zend_API.c(189) : Actual location (location was relayed)
Last leak repeated 1 time
zend_operators.c(882) : Freeing 0x08366C54 (18 bytes), script=/myscript.php
./zend-parser.y(560) : Freeing 0x08316454 (48 bytes), script=/myscript.php
zend_API.c(189) : Actual location (location was relayed)
./zend-scanner.l(1418) : Freeing 0x0831641C (12 bytes), script=/myscript.php
Last leak repeated 5 times
zend_API.c(407) : Freeing 0x0828FDBC (1 bytes), script=/myscript.php
Last leak repeated 13 times
zend_API.c(403) : Freeing 0x08259144 (12 bytes), script=/myscript.php
Last leak repeated 13 times
string.c(1658) : Freeing 0x08290C3C (23 bytes), script=/myscript.php
Last leak repeated 1 time
--
===============================================================================
Jade Nicoletti Nicoletti Net Services Tel. 01 240 4774
Geschäftsleitung Postfach 2519 Fax 01 240 4775
System-Administration 8021 Zürich
============================================[ Weitere Infos: http://nns.ch/ ]==