Memory Leaks
| From: | Cameron Just | Date: | Wed, 04 Oct 2000 03:30:06 +0000 |
| Subject: | Memory Leaks | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-18512@lists.php.net to get a copy of this message | ||
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
****************************************************************