PHP 4.0 Bug #5641: php module fails to release memory
| From: | michel dot jansens at ulb dot ac dot be | Date: | Mon, 17 Jul 2000 15:02:21 +0000 |
| Subject: | PHP 4.0 Bug #5641: php module fails to release memory | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-24773@lists.php.net to get a copy of this message | ||
From: michel.jansens@ulb.ac.be
Operating system: Solaris 2.6
PHP version: 4.0.1pl2
PHP Bug Type: Scripting Engine problem
Bug description: php module fails to release memory
Before running the script below all httpd processes take 1169KB RAM and 9352 SWAP
After one of the http process takes 6292KB RAM and 50,336KB SWAP
Is this normal behaviour? is there a way to prevent this?
<?php
$a="0123456789";
for($i=0;$i<21;$i++)$a.=$a;
print strlen($a);
unset($a);
?>
Php module config:
configure --enable-track-vars \
--with-informix=/usr/products/informix \
--with-imap=/usr/products/imap/imap-4.7/c-client \
--enable-force-cgi-redirect \
--with-apxs=/usr/products/apache1.3.12/bin/apxs