Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:19793 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95766 invoked by uid 1010); 28 Oct 2005 19:21:32 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 95751 invoked from network); 28 Oct 2005 19:21:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Oct 2005 19:21:32 -0000 X-Host-Fingerprint: 200.196.123.37 unknown Received: from ([200.196.123.37:8212] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 4E/0D-57990-B3A72634 for ; Fri, 28 Oct 2005 15:21:31 -0400 Message-ID: <4E.0D.57990.B3A72634@pb1.pair.com> To: internals@lists.php.net Date: Fri, 28 Oct 2005 17:21:26 -0200 Lines: 9 User-Agent: KNode/0.9.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Posted-By: 200.196.123.37 Subject: 1.5Gb PHP process, lots of swap From: cunha17@gmail.com (Cristiano Duarte) Is there any way to force a PHP CLI application to free the memory it took 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 for the script end to be freed' ? Regards, Cristiano Duarte