[PHP-DEV] hi memory usage with php-cli

2002-11-24 Thread Robin Ericsson
Hi, I have a huge xml-file with about 500k lines, which gives around 17000 products, which I import to a database. The problem is that the script is taking a lot of memory, about 100mb when it's finished. The script goes something like this $product = array(), then I add some values to the

RE: [PHP-DEV] hi memory usage with php-cli

2002-11-24 Thread Pete McCormick
]] Sent: November 24, 2002 12:20 PM To: [EMAIL PROTECTED] Subject: [PHP-DEV] hi memory usage with php-cli Hi, I have a huge xml-file with about 500k lines, which gives around 17000 products, which I import to a database. The problem is that the script is taking a lot of memory, about 100mb when