Re: Memory leak detection

From: Date: Sat, 21 Nov 2009 17:38:55 +0000
Subject: Re: Memory leak detection
References: 1 2 3 4  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-6812@lists.php.net to get a copy of this message
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. I had no problems on linux, though. -- Gustavo Lopes

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