Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:19803 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 28113 invoked by uid 1010); 29 Oct 2005 01:50:29 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 28096 invoked from network); 29 Oct 2005 01:50:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Oct 2005 01:50:29 -0000 X-Host-Fingerprint: 66.249.82.205 xproxy.gmail.com Linux 2.4/2.6 Received: from ([66.249.82.205:27551] helo=xproxy.gmail.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id D4/52-01249-565D2634 for ; Fri, 28 Oct 2005 21:50:29 -0400 Received: by xproxy.gmail.com with SMTP id t13so358738wxc for ; Fri, 28 Oct 2005 18:50:26 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=oe/frQfvnOjoXRXaPL/KuLZoIStNR7wL7wY4iySBHiRXjWghePIjP1wvczBmxp64Myc9moxoQ3zHf+IdEHGUUV3ecbQfadSNSLuGDKBTwyXl6kGpaW6wFMx9JTKV1ZIWVIRublzflcXt55ygId7vT0PyKl92hRn202tehuywLC4= Received: by 10.64.142.12 with SMTP id p12mr553731qbd; Fri, 28 Oct 2005 18:50:26 -0700 (PDT) Received: by 10.64.183.1 with HTTP; Fri, 28 Oct 2005 18:50:26 -0700 (PDT) Message-ID: <4e36d31d0510281850q625316ccx1dd4a61ba59b23f8@mail.gmail.com> Date: Fri, 28 Oct 2005 18:50:26 -0700 To: Andi Gutmans Cc: Cristiano Duarte , internals@lists.php.net In-Reply-To: <6.2.3.4.2.20051028132228.0a164030@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <4E.0D.57990.B3A72634@pb1.pair.com> <6.2.3.4.2.20051028132228.0a164030@localhost> Subject: Re: [PHP-DEV] 1.5Gb PHP process, lots of swap From: buddhahead@gmail.com (Sebastian) Lexical variables would be nice. On 10/28/05, Andi Gutmans wrote: > Hi Cristiano, > > Alex sent a patch to the list a while ago which forces the memory > allocator to return memory to the system. However, in your case, I > think you might be just having PHP variables "leaking". Can you try > and identify where this info is sitting and try and unset it? It's > important to dig deeper and/or reproduce in order to understand. > > > Andi > > At 12:21 PM 10/28/2005, Cristiano Duarte wrote: > >Is there any way to force a PHP CLI application to free the memory it to= ok > >from the system ? I mean, is there any PHP userland or PHP internal > >functional call that could *really* free 'the memory allocated by a > >variable' or 'the memory allocated but currently not used and waiting fo= r > >the script end to be freed' ? > > > >Regards, > > > >Cristiano Duarte > > > >-- > >PHP Internals - PHP Runtime Development Mailing List > >To unsubscribe, visit: http://www.php.net/unsub.php > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- ------------- buddhahead@gmail.com