Re: Curl POST emalloc leak?

From: Date: Sun, 18 May 2008 23:52:48 +0000
Subject: Re: Curl POST emalloc leak?
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-37714@lists.php.net to get a copy of this message
Hi!
# php -n -r 'for($i=0;$i<10;$i++) { for($args="",$j=0;$j<75;$j++) $args .= "a=$j&"; unset($args); echo memory_get_usage()."\n"; }' 55872 56100 56172 56240 56304 56364 56420 56420 56420 56420
This looks like cache filling up, not a leak. Unless it doesn't stop at some boundary. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

« previous php.internals (#37714) next »