ID: 42846 Updated by: [EMAIL PROTECTED] Reported By: brendoncrawford at gmail dot com -Status: Open +Status: Bogus Bug Type: Sockets related Operating System: OSX 10.4 / FreeBSD 6.2 PHP Version: 5.2.4 New Comment:
The same happens without any sockets, just reusing some variable. It's how the Zend MM works, not a real leak. Previous Comments: ------------------------------------------------------------------------ [2007-10-03 21:39:39] brendoncrawford at gmail dot com Also reproduceable in FreeBSD 6.2 ------------------------------------------------------------------------ [2007-10-03 21:38:40] brendoncrawford at gmail dot com Description: ------------ Each call to socket_recv (or socket_read) leaks small amount of memory despite efforts to free up variables. Reproduce code: --------------- As far as I can tell, this is always reproduceable. Please see: http://pastebin.com/f342f6b99 Expected result: ---------------- Memory usage to decline back to original state before client connect. Actual result: -------------- If you simply connect and disconnect, you will see no problem. However, if you send data you will see memory usage slowly increasing. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=42846&edit=1