Re: Memory leak detection

From: Date: Sun, 22 Nov 2009 11:30:07 +0000
Subject: Re: Memory leak detection
References: 1 2 3 4 5  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-6813@lists.php.net to get a copy of this message
hi, On Sat, Nov 21, 2009 at 6:38 PM, Gustavo Lopes <glopes@nebm.ist.utl.pt> wrote: > On Fri, 20 Nov 2009 11:27:20 -0000, Pierre Joye <pierre.php@gmail.com> > wrote: > >> I'm not sure why but the ZMM seems to be broken in some cases, unix or >> windows, as leaks are not reported. I can't do much to fix that right >> now :) >> >> However there are alternatives, on windows you can use >> --enable-crt-debug and disable the MM usage (set USE_ZEND_ALLOC=0 >> first in the cmd line) and it will report some leaks. There is also >> tools to detect leaks on windows, some are free like >> ApplicationVerifier (MS tool), windbg can help as well. >> > > Thanks, but I can't get it to work on windows, with or without > --enable-crt-debug, with or without the environment variable ZEND_ALLOC. I'm > giving up. What are you testing? I can do some tests if you are looking for bugs. -- Pierre http://blog.thepimp.net | http://www.libgd.org

« previous php.pecl.dev (#6813) next »