[PHP] Problem with very big array !

2001-10-29 Thread Nicolas Guilhot
Hi guys, I have an sql query returning a result of nearly 150 000 rows. I use the PEAR DB::getAll method to retrieve this result as an array which is very big indeed (about 300Mb). I can't use the MySQL LIMIT statement because I need to do sorting stuff on the result array. My concern is that

RE: [PHP] Problem with very big array !

2001-10-29 Thread Matthew Loff
] Problem with very big array ! Hi guys, I have an sql query returning a result of nearly 150 000 rows. I use the PEAR DB::getAll method to retrieve this result as an array which is very big indeed (about 300Mb). I can't use the MySQL LIMIT statement because I need to do sorting stuff on the result