On Fri, April 13, 2007 12:49 am, Arthur Erdös wrote: > $abonents = $personAction->findAbonents($start, $offset); > $size = $personAction->countFoundRows(); > $this->logger->debug("Found " . $size . " abonents...."); > $loops = ceil($size/self::PROCESS_ABONENTS); > $this->logger->debug("Need " . $loops . " loops at " . > self::PROCESS_ABONENTS . " abonents per loop"); > for($i = 0; $i < $loops; $i++){ > $start = $i*self::PROCESS_ABONENTS; > $abonents = $personAction->findAbonents($start, > self::PROCESS_ABONENTS); What happened to the other $abonents you set about 6 lines ago?... > // unset($text, $lvo); > $text = null; > $lvo = null; > sleep(1); Do the unset() as well on each var, I think. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php