RE: [PHP] Memory use
| From: | Marko Perich | Date: | Fri, 09 Mar 2001 14:11:15 +0000 |
| Subject: | RE: [PHP] Memory use | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-43141@lists.php.net to get a copy of this message | ||
I had the same problem with Linux-Apache-PHP4-Informix.
When PHP is loaded as a module it doesn't close the connection
automaticaly, so I have to close it manualy to free the memory.
Hope it helps.
Marko.
-----Mensaje original-----
De: Thierry Coopman <calvin@skynet.be>
Para: php-general@lists.php.net <php-general@lists.php.net>
Fecha: Viernes, 09 de Marzo de 2001 07:53
Asunto: [PHP] Memory use
>Hi,
>
>I use Solaris 7 with Apache 1.3.14 and PHP 4.0.3pl1.
>
>I have a rather compex script that fetches historic quote data from a
>database and makes calculations on that.
>
>My data structures get quite big, but the script runs wel.
>
>I noticed that the amount of memory the apache process takes goes up
>to 60MB, and this memory stays in use vene after the script is
>finished.
>
>Do I need to free up the memory??? Can I do that, would it be better
>to run this from command line and have the process quit after it
>finished the job, and how do you pass arguments to a PHP script on
>the command line (like ?pid=6&name=blah)???
>
>--
>Thierry Coopman - thierry@keytrade.com
>My opinions are personal, and have really nothing or nothing to do
>with Keytrade!
>
>Democracy: Three wolves and one sheep voting on what
>to have for supper.
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
>For additional commands, e-mail: php-general-help@lists.php.net
>To contact the list administrators, e-mail: php-list-admin@lists.php.net