Reply to Re: Garbage collection

Your name:

Reply:


Posted by Toby A Inkster on 04/27/07 10:39

amygdala wrote:

> Finally my gutfeeling tells me, that when a script stops, the memory that
> was taken up by the script would clear instantly, but that doesn't always
> seem the case considering what some people here have mentioned about it.
> What's the real deal?

It doesn't clear *instantly* -- the PHP interpreter is smarter than that,
waiting for a bit of system idle time and clearing a bunch of memory at
once rather than simply clearing things as soon as they're not needed.

But, from your own point of view, you don't need to worry about PHP's
garbage collection algorithm -- that's the whole point of using a high
level language like PHP -- not having to worry about the nitty gritty
things like this!

--
Toby A Inkster BSc (Hons) ARCS
http://tobyinkster.co.uk/
Geek of ~ HTML/SQL/Perl/PHP/Python*/Apache/Linux

* = I'm getting there!

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация