[php-src] Issue #8136: ftp_nlist memory leak

From: Date: Tue, 22 Feb 2022 13:47:50 +0000
Subject: [php-src] Issue #8136: ftp_nlist memory leak
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-239963@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/8136
Comment Author: cmb69

I cannot confirm a memory leak. Since free -m reports the systems free memory, the leak
might be caused by the FTP server, or even some unrelated process. So please add something like
echo memory_get_usage(), PHP_EOL; to the loop body, or run the script under valgrind
(valgrind php script.php; you need to convert the infinite loop to some finite loop in
this case). If you do so, is there still a leak?


Thread (1 message)

  • cmb69
« previous php.bugs (#239963) next »