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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php