RE: [PHP] Memory Leaks

From: Date: Wed, 04 Oct 2000 04:26:44 +0000
Subject: RE: [PHP] Memory Leaks
Groups: php.general 
Request: Send a blank email to php-general+get-18516@lists.php.net to get a copy of this message
I am not that good in what you're trying to do, but what if you just use sleep(2) on each, let's say, 1000 processes, in this way everything could relax for few seconds and then continue... making so a little slower but more secure transfer. -----Original Message----- From: Cameron Just [mailto:C.Just@phoenixdigital.com] Sent: Wednesday, October 04, 2000 12:30 PM To: php-general@lists.php.net Subject: [PHP] Memory Leaks Hi, I have written a php script which will transfer the contents of one table across to another database. It does a few data integrity checks during the transfer as the new (cleaner) table structure contains lookup tables instead of text fields. The script needs to import approx 1 million records but gradually grows in size until the server crashes. I can only seem to process 10,000 records at one time. Is there anyway I can stop the script from slowly chewing up all the memory? Are there any housecleaning routines I can run to free up memory? **************************************************************** Cameron Just (C.Just@phoenixdigital.com) Phoenix Digital Development **************************************************************** -- 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

« previous php.general (#18516) next »