Re: Memory management ...
| From: | Johannes Schlüter | Date: | Thu, 04 Aug 2011 13:21:30 +0000 |
| Subject: | Re: Memory management ... | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-54359@lists.php.net to get a copy of this message | ||
On Thu, 2011-08-04 at 12:36 +0100, Lester Caine wrote:
> Ferenc Kovacs wrote:
> > so to address your question: if you unset your variables you can
> > reclaim memory, but there could be edge cases, when you will memory
> > leak before version 5.3.
>
> So it looks like I'm not hitting any edge cases in the earlier code as some
> sites have been running for years without a reboot ... Must think about doing
> that sometime, running a windows server for 21 months without a reboot might be
> pushing luck :)
PHP frees memory forcefully on request end as good as it can (which is
quite good) but sometimes a request takes a lot of memory and some
people try to reduce that.
johannes
> --
> Lester Caine - G8HFL
> -----------------------------
> Contact - http://lsces.co.uk/wiki/?page=contact
> L.S.Caine Electronic Services - http://lsces.co.uk
> EnquirySolve - http://enquirysolve.com/
> Model Engineers Digital Workshop - http://medw.co.uk//
> Firebird - http://www.firebirdsql.org/index.php
>