From: Mike N. <mh...@us...> - 2003-02-20 18:32:38
|
On Thu, 2003-02-20 at 10:03, Matthew McNaney wrote: > Recently questions have been raised about phpWebSite's memory requirements. > Today, Brian and I tested these constraints and wanted to share what we > found. > > Memory constraints were determined by the memory_limit value in php.ini. > Testing was performed with converted data from a high traffic university > site. Matt, The good thing is memory_limit isn't a system value, so it can be changed in .htaccess. php_value memory_limit "12M" ref. http://www.php.net/manual/en/configuration.directives.php#AEN2344 > Results: > > o phpWebSite's core installation runs within a 5MB limit. > > o A complete installation runs within a 9MB limit. > > o phpWebSite WILL run under the default 8MB php installation, however you > will need to limit the modules installed. > > We found you can expect to add about 400k - 600k per module beyond the > base installation. The good news is that testing showed there wasn't any > ONE module that gobbled up the majority of the memory. > > Adopting an object oriented approach to programming carries with it > increased memory requirements, but the modularity and functionality gained > with this approach outweighs the additional cost in terms of memory. > > We still feel that phpWebSite memory requirements are modest relative to > most software packages that provide its wide range of functionality. > > Of course we still strive to tighten the code where possible but we don't > believe these base recommendations to change significantly. -- Mike Noyes <mhnoyes @ users.sourceforge.net> http://sourceforge.net/users/mhnoyes/ http://leaf-project.org/ http://sitedocs.sf.net/ http://ffl.sf.net/ |