Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:32705 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 42010 invoked by uid 1010); 8 Oct 2007 20:36:10 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 41995 invoked from network); 8 Oct 2007 20:36:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Oct 2007 20:36:10 -0000 Authentication-Results: pb1.pair.com smtp.mail=planetbeing@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=planetbeing@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 66.249.90.179 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: planetbeing@gmail.com X-Host-Fingerprint: 66.249.90.179 ik-out-1112.google.com Received: from [66.249.90.179] ([66.249.90.179:3336] helo=ik-out-1112.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E0/23-22438-8B49A074 for ; Mon, 08 Oct 2007 16:36:09 -0400 Received: by ik-out-1112.google.com with SMTP id b32so413978ika for ; Mon, 08 Oct 2007 13:36:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=RNpbKZT9PLPxdjlzFuop7NsHSTRzfpxokABWrOExwjU=; b=QGrtHBzbA7+FZiBqmdSJXJLtCmKiBpnlkd906Ir9SQjChhFSHsdjs0DjjtZTOUxUas5XVU8m03knv6ZGDGop5E0ER/D6p7PBew4tRARI2D23JQXmCscJrrtsdZ+Kf2iwtg88FZKX8CJgtXRJhQ/xS6zdkpGxG1gD7dnIblRwJ4o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Nmc21NgTAExWViTsHRWCoIYZehO3rFK61aqgvdNdi0Vn2KBcT5M/pm4aq+rBrMkJRtTecmatSCJPAX9i9+tC/jSSdjsz6PIzujAn0AXuHIiShIqwuUX7q/xsZrReLH9HcSSussTFqlnQ3MxcZ7gKJq1gS1zbtHihDYXHLlL2VEo= Received: by 10.78.204.7 with SMTP id b7mr4396734hug.1191875764379; Mon, 08 Oct 2007 13:36:04 -0700 (PDT) Received: by 10.78.135.16 with HTTP; Mon, 8 Oct 2007 13:36:04 -0700 (PDT) Message-ID: Date: Mon, 8 Oct 2007 13:36:04 -0700 To: "Alexey Zakhlestin" Cc: "Tony Bibbs" , internals@lists.php.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <339257.69263.qm@web706.biz.mail.mud.yahoo.com> Subject: Re: [PHP-DEV] Reference cycle collector patch From: planetbeing@gmail.com ("David Wang") On 10/8/07, Alexey Zakhlestin wrote: > by the way, 33487 is not really a bug if it is stated this way. > the proper bug description for 33487 would be: > "there is no mechanism in zend_object_storage to free unused memory > during script execution" Yeah, it fixes the issue in that this behavior isn't a problem anymore, but there is no reference counting-like promptness in freeing memory that is occupied by garbage cycles. Actually, I did create a userland function that manually frees that memory (should you want to). It basically calls the garbage collection routine manually: gc_collect_cycles(). You would call that function after $t->doNothing(); and you would get the expected result. David