|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2001-03-08 11:46 UTC] stas@php.net
  [2001-03-08 12:12 UTC] stas@php.net
  [2001-04-28 23:30 UTC] sniper@php.net
  [2001-10-25 04:41 UTC] sebastian@php.net
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 03:00:01 2025 UTC | 
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; }