Re: Is a small memory footprint better for a php script?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mark wrote:

> Hey,
> 
> I'm wondering something about memory usage.
> I just looked at how much memory the newest phpbb is using and that's
> over 2 mega bytes!!
> 
> Now i'm working on a php script that is currently using around 600
> kilo bytes.
> 
> The question now is: what is better? a script with a small memory
> usage? or is that something i don't need to look at?

As a rule of thumb, using less resources (memory/disk/cpu) is better. 
Though depending on your actual situation, it may not be _visibly_
better.  (a large machine with a lot of resources can cope with a lot
of resource abuse/waste without performance ever suffering).


/Per Jessen, Zürich

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux