Memory leak debugging

From: Date: Thu, 29 Jul 2004 04:35:10 +0000
Subject: Memory leak debugging
Groups: php.internals 
Request: Send a blank email to internals+get-11606@lists.php.net to get a copy of this message
Is there prefered/suggested method on debugging memory leaks? For example: $i = 100; while($i-- ) { list($foo['a']) = array('bar'); } Results with: Zend/zend_execute.c(3383) : Freeing 0x0840E1CC (4 bytes), script=t.php Zend/zend_variables.c(137) : Actual location (location was relayed) Last leak repeated 99 times Zend/zend_execute.c(3380) : Freeing 0x0840E188 (16 bytes), script=t.php Last leak repeated 99 times === Total 200 memory leaks detected === Curt -- First, let me assure you that this is not one of those shady pyramid schemes you've been hearing about. No, sir. Our model is the trapezoid!

« previous php.internals (#11606) next »