Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26769 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 68786 invoked by uid 1010); 3 Dec 2006 09:42:23 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 68771 invoked from network); 3 Dec 2006 09:42:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Dec 2006 09:42:23 -0000 Authentication-Results: pb1.pair.com smtp.mail=indeyets@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=indeyets@gmail.com; sender-id=pass; domainkeys=good Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.182.188 as permitted sender) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: indeyets@gmail.com X-Host-Fingerprint: 64.233.182.188 nf-out-0910.google.com Linux 2.4/2.6 Received: from [64.233.182.188] ([64.233.182.188:40435] helo=nf-out-0910.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 09/43-27055-9BB92754 for ; Sun, 03 Dec 2006 04:41:48 -0500 Received: by nf-out-0910.google.com with SMTP id l35so4393515nfa for ; Sun, 03 Dec 2006 01:41:10 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=trxTjVHjOYY3hppsMS9hHrSB2GN3BzglXAJ/oA/xPduKuir/fYmu9hbD+HwpbNr1tV1rkN9j9fQ7nPEDDqxe9wYP0SIBR4UNc/pRHwjD8IoZDUY4gC5XS1BZXkNEtgsUj4zDcRvq+VauPa1frP3XqPYdWQbwgMX4WvXIZzErRao= Received: by 10.78.193.19 with SMTP id q19mr6595685huf.1165138869976; Sun, 03 Dec 2006 01:41:09 -0800 (PST) Received: by 10.78.162.2 with HTTP; Sun, 3 Dec 2006 01:41:09 -0800 (PST) Message-ID: Date: Sun, 3 Dec 2006 12:41:09 +0300 To: internals@lists.php.net In-Reply-To: <45729769.1080205@hristov.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <45729769.1080205@hristov.com> Subject: Re: [PHP-DEV] persistent memory management From: indeyets@gmail.com ("Alexey Zakhlestin") On 12/3/06, Andrey Hristov wrote: > Tried running the web server under memory checker like valgrind? Valgrind is linux only.. But I guess I still have one linux box.. I will give it a try. > Maybe instead of peamlloc() just do malloc() well.. I can do that for clarity, but zend_alloc.h has this: #define pemalloc(size, persistent) ((persistent)?malloc(size):emalloc(size)) so, it basically maps -- Alexey Zakhlestin http://blog.milkfarmsoft.com/