Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:51790 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 34006 invoked from network); 1 Apr 2011 16:46:54 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Apr 2011 16:46:54 -0000 Authentication-Results: pb1.pair.com smtp.mail=courtois@templeet.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=courtois@templeet.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain templeet.org from 91.121.162.155 cause and error) X-PHP-List-Original-Sender: courtois@templeet.org X-Host-Fingerprint: 91.121.162.155 sociatom2.sociatom.com Received: from [91.121.162.155] ([91.121.162.155:53339] helo=ks360347.kimsufi.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1D/24-09874-C71069D4 for ; Fri, 01 Apr 2011 11:46:53 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by ks360347.kimsufi.com (Postfix) with ESMTP id ABD7F500F5 for ; Fri, 1 Apr 2011 18:46:49 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at sociatom.com Received: from ks360347.kimsufi.com ([127.0.0.1]) by localhost (ks360347.kimsufi.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2uh7A95RY0q8 for ; Fri, 1 Apr 2011 18:46:29 +0200 (CEST) Received: from [192.168.0.205] (lns-bzn-47f-62-147-131-15.adsl.proxad.net [62.147.131.15]) by ks360347.kimsufi.com (Postfix) with ESMTPA for ; Fri, 1 Apr 2011 18:46:29 +0200 (CEST) Message-ID: <4D960169.3000400@templeet.org> Date: Fri, 01 Apr 2011 18:46:33 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: internals@lists.php.net References: <4D95B6AB.30608@templeet.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] how to find a memory corruption in php ? From: courtois@templeet.org (Pascal COURTOIS) Le 01/04/2011 15:20, Pierre Joye a écrit : > hi, > > In php 5.3+ the memory limit default is 256MB, not 128MB. 5.3 does not > necessary use more memory but actually uses and reports its usage more > efficiently. I would suggest to use this default value and try again. the exact same bug occurs whatever the limit set. Anyway, when it works it's ok with 6MB so it's not a matter of quantity obviously. > About detecting leaks and memory corruptions, valgrind is a good tool > to begin with. It take a look at it. Thanks