Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:54359 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 89493 invoked from network); 4 Aug 2011 13:21:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Aug 2011 13:21:37 -0000 Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 217.114.211.66 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 217.114.211.66 config.schlueters.de Received: from [217.114.211.66] ([217.114.211.66:40362] helo=config.schlueters.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5C/E1-13433-FDC9A3E4 for ; Thu, 04 Aug 2011 09:21:36 -0400 Received: from [192.168.2.230] (ppp-93-104-47-108.dynamic.mnet-online.de [93.104.47.108]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by config.schlueters.de (Postfix) with ESMTPSA id 87E7277519; Thu, 4 Aug 2011 15:21:32 +0200 (CEST) To: Lester Caine Cc: PHP internals In-Reply-To: <4E3A8423.5010601@lsces.co.uk> References: <4E3A71B2.3060302@lsces.co.uk> <4E3A8423.5010601@lsces.co.uk> Content-Type: text/plain; charset="UTF-8" Date: Thu, 04 Aug 2011 15:21:30 +0200 Message-ID: <1312464090.1541.9.camel@guybrush> Mime-Version: 1.0 X-Mailer: Evolution 2.30.2 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Memory management ... From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) 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 >