DB memory grow with many select

From: Date: Fri, 15 Oct 2004 11:11:23 +0000
Subject: DB memory grow with many select
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-14919@lists.php.net to get a copy of this message
Hi I have a problem with pear DB my code : for ($i=0;$i<100000;$i) { $sql = "select id from table where id=x"; $db->query($sql); } if i run this code memory usage grow up, during for loop but if i use mysql_query($sql) instead of $db->query($sql), memory usage stay the same during all for loop Have you an idea to solve my problem ? vincent

« previous php.pear.general (#14919) next »