Re: Freing memory resources?

From: Date: Thu, 16 Jun 2005 11:35:15 +0000
Subject: Re: Freing memory resources?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-217062@lists.php.net to get a copy of this message
Gustav Wiberg wrote:
Hi there! I have a script that runs about 10 minutes... Localy on my computer (Windows XP 2.6Ghz, Apache) the computer hangs a little now and then when the script is running. Is there any good way of releasing more memory while the script is running? The script could take 20 minutes, it's not a big matter how long the script takes. (As long as the server can do other things at the same time) (In production environment, the php-script is on Apache and Linux (if it matters))
maybe use nice to stop your script hogging resources. $> nice --adjustment=19 php yourscript.php check the manpage for more info: $> man nice
Best regards Gustav Wiberg @varupiraten.se


« previous php.general (#217062) next »