ID: 9223 Updated by: sebastian Reported By: [EMAIL PROTECTED] Old Status: Suspended Status: Closed Bug Type: Recode related Operating System: SuSE-Linux 7.0 PHP Version: 4.0.4pl1 New Comment:
Fixed with GNU recode 3.6. Previous Comments: ------------------------------------------------------------------------ [2001-04-28 23:30:12] [EMAIL PROTECTED] Suspended is better.. ------------------------------------------------------------------------ [2001-03-08 12:12:09] [EMAIL PROTECTED] Better be in 'Analyzed', to know the problem still exists. ------------------------------------------------------------------------ [2001-03-08 11:46:32] [EMAIL PROTECTED] Seems that this is a recode memory leak, not PHP's. At least Insure says that recode library is leaking memory all over the place. You may want to contact recode developers. ------------------------------------------------------------------------ [2001-02-12 05:33:56] [EMAIL PROTECTED] I use the following procedure to recode records that are read in from a dbase file. If I run this script for all the 3500 records in the dbase file the apache server process uses 150MB of memory. function recodeDBF($dbfin) { $dbfout=array(); while( list($key, $inval) = each($dbfin) ) { $dbfout[$key]=recode_string("pc..l1",trim($inval)); // A LOT OF MEMORY // $dbfout[$key]=trim($inval); // NORMAL MEMORY USAGE } return $dbfout; } ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=9223&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]