[pLog-svn] PHP 5.x memory usage?

Jon Daley plogworld at jon.limedaley.com
Tue Nov 28 14:29:38 GMT 2006


 	For a reference point, renalias.net has been upgraded to mysql 
5.0, so you can see whether it is php5 or mysql5 causing the extra memory. 
My bet would be on php5.
 	Though mysql5 did originally cause a higher load when it was 
started, I think that had to do with emptying out the cache and filling it 
back up again.
 	Also, php5 has a new memory function get_peak_usage() or something 
like that, you might be interested in checking that out.  I have been 
wondering if we need to free objects when we are done with them, if that 
would lower our peak usage.

On Fri, 24 Nov 2006, Oscar Renalias wrote:

> I recently upgraded my version of PHP to 5.2 and MySQL to 5.0 and although 
> everything is working fine, I have noticed that the memory usage has been 
> increased. Under PHP 4.x, LT 1.1.x's memory usage used to hover around 3.5 
> and 5.5 mb (cached and non-cached scenarios) while now I get figures between 
> 5.5 and 7.0 according to the metrics.log file (which calls 
> memory_get_usage()) It's a new installation, only one post and no plugins.
>
> Is anybody else running these versions? Have you noticed these memory 
> increases?
>
> Oscar
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://devel.lifetype.net/mailman/listinfo/plog-svn

-- 
Jon Daley
http://jon.limedaley.com/

A mighty fortress is our God, a bulwark never failing.
-- Martin Luther


More information about the pLog-svn mailing list