Bug #67725 [NEW]: PHPNG: memory leak when including files

From: Date: Thu, 31 Jul 2014 12:27:41 +0000
Subject: Bug #67725 [NEW]: PHPNG: memory leak when including files
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-186906@lists.php.net to get a copy of this message
From: pascal dot chevrel at free dot fr Operating system: PHP version: Irrelevant Package: *General Issues Bug Type: Bug Bug description:PHPNG: memory leak when including files Description: ------------ The script includes a file in a loop, the file is a big (tens of thousands of lines) php array. If you run the script in PHP 5.5 or earlier, the memory consumption at each loop iteration remains stable (about 6MB). If you run it with PHPNG, the memory consumption adds up with every iteration and me hit a memory limit quickly, it seems the memory used by the array in the include ($tmx) is not freed when it is replaced by a new $tmx array. Test script: --------------- I put a repository exposing the bug here: https://github.com/pascalchevrel/PHPNG_memory_bug -- Edit bug report at https://bugs.php.net/bug.php?id=67725&edit=1 --

« previous php.bugs (#186906) next »