Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:43271 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 93794 invoked from network); 6 Mar 2009 19:44:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Mar 2009 19:44:59 -0000 Authentication-Results: pb1.pair.com header.from=igor.feghali@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=igor.feghali@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.92.25 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: igor.feghali@gmail.com X-Host-Fingerprint: 74.125.92.25 qw-out-2122.google.com Received: from [74.125.92.25] ([74.125.92.25:40880] helo=qw-out-2122.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 99/3E-42068-A3D71B94 for ; Fri, 06 Mar 2009 14:44:59 -0500 Received: by qw-out-2122.google.com with SMTP id 3so409701qwe.59 for ; Fri, 06 Mar 2009 11:44:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=KtlL96Vj0d4an5jgPKSDVbsT1wdrFUso9yNQ8RkwmsQ=; b=vOu6s/S+BXBeT01nx5m31dSE8z2okJvq7TP+cAheOvy5tl0ROoyGdg9JekfoKQnkBa In1V3E8TSdyTrG/q3M2gVJB2Xw3KOGAlMW2a9E++Cdg8CJWDaH0zUf9HCOVXbRql+Zln Lfq4ywm9L0PeEXWdQ4gj3uujGdnMfD3T1omZk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=jxZIgwpDBlrJ6K3+/ybYQOOW6iR9XRPvIABONKDzwBxZ1ECZludsxtKEKxqIMufRvR NMQwcHsJJNpUQqh2arJ+Gww0TqoR5g+liEQSKanTbyotj5Urm/LjSW4LfnEtNL8xxAQ2 mG6v621TLKAdnt9hv4QVM2rAjzJv6t3O1ZTwQ= MIME-Version: 1.0 Received: by 10.229.73.134 with SMTP id q6mr2592749qcj.76.1236368695236; Fri, 06 Mar 2009 11:44:55 -0800 (PST) In-Reply-To: <49B0CDD6.5050205@zend.com> References: <49B0CDD6.5050205@zend.com> Date: Fri, 6 Mar 2009 16:44:55 -0300 Message-ID: To: Dmitry Stogov Cc: PHP Developers Mailing List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Memory Leaks with Objects (no circular reference) From: igor.feghali@gmail.com (Igor Feghali) Hello Dmitry, Thank you for your answer. The problem comes when you put that piece of code inside a Daemon that is supposed to run 24h/7 days. The reserved memory increases at each loop, never gets freed, and in about 1~2 days the process dies because it reaches the memory limit of 128MB. Isn't there any way to force PHP to free that space up ? Regards, ~IF.