Edit report at http://bugs.php.net/bug.php?id=51347&edit=1
ID: 51347 User updated by: mat999 at gmail dot com Reported by: mat999 at gmail dot com Summary: mysqli_close / connection memory leak -Status: Feedback +Status: Open Type: Bug Package: MySQLi related Operating System: Debian Lenny / Linux PHP Version: 5.3.2 Assigned To: mysql New Comment: Thanks, your patch has fixed the issue. Memory consumption after 0 iterations is 628552<br /> Memory consumption after 1000 iterations is 628584<br /> Memory consumption after 2000 iterations is 628584<br /> Memory consumption after 3000 iterations is 628584<br /> Memory consumption after 4000 iterations is 628584<br /> Memory consumption after 5000 iterations is 628584<br /> Memory consumption after 6000 iterations is 628584<br /> Memory consumption after 7000 iterations is 628584<br /> Memory consumption after 8000 iterations is 628584<br /> Memory consumption after 9000 iterations is 628584<br /> Memory consumption after 10000 iterations is 628584<br /> Memory consumption after 11000 iterations is 628584<br /> Memory consumption after 12000 iterations is 628584<br /> Memory consumption after 13000 iterations is 628584<br /> Memory consumption after 14000 iterations is 628584<br /> Memory consumption after 15000 iterations is 628584<br /> Memory consumption after 16000 iterations is 628584<br /> Memory consumption after 17000 iterations is 628584<br /> Memory consumption after 18000 iterations is 628584<br /> Memory consumption after 19000 iterations is 628584<br /> Memory consumption after 20000 iterations is 628584<br /> Memory consumption after 21000 iterations is 628584<br /> Memory consumption after 22000 iterations is 628584<br /> Memory consumption after 23000 iterations is 628584<br /> Memory consumption after 24000 iterations is 628584<br /> Memory consumption after 25000 iterations is 628584<br /> Memory consumption after 26000 iterations is 628584<br /> Memory consumption after 27000 iterations is 628584<br /> Memory consumption after 28000 iterations is 628584<br /> Memory consumption after 29000 iterations is 628584<br /> Memory consumption after 30000 iterations is 628584<br /> Memory consumption after 31000 iterations is 628584<br /> Memory consumption after 32000 iterations is 628584<br /> Memory consumption after 33000 iterations is 628584<br /> Memory consumption after 34000 iterations is 628584<br /> Memory consumption after 35000 iterations is 628584<br /> Memory consumption after 36000 iterations is 628584<br /> Memory consumption after 37000 iterations is 628584<br /> Memory consumption after 38000 iterations is 628584<br /> Memory consumption after 39000 iterations is 628584<br /> Memory consumption after 40000 iterations is 628584<br /> Memory consumption after 41000 iterations is 628584<br /> Memory consumption after 42000 iterations is 628584<br /> Memory consumption after 43000 iterations is 628584<br /> Memory consumption after 44000 iterations is 628584<br /> Memory consumption after 45000 iterations is 628584<br /> Memory consumption after 46000 iterations is 628584<br /> Previous Comments: ------------------------------------------------------------------------ [2010-05-14 15:16:37] mat999 at gmail dot com Working on it at the moment. Ill try to get results by the end of the weekend. ------------------------------------------------------------------------ [2010-05-11 12:10:19] and...@php.net Yes, 5.3.2 has it, the fix I committed is in 5.3.3-dev, the future 5.3.3. I asked that you try it, if possible. Sources are available at http://snaps.php.net ------------------------------------------------------------------------ [2010-04-25 07:08:57] mat999 at gmail dot com Ok tested it on php 5.3.2, sorry had issues getting php to build on my server (some hacks to get other stuff compiled have screwed with libs) Memory consumption after 0 iterations is 637088<br /> Memory consumption after 1000 iterations is 829464<br /> Memory consumption after 2000 iterations is 1021680<br /> Memory consumption after 3000 iterations is 1222080<br /> Memory consumption after 4000 iterations is 1406088<br /> Memory consumption after 5000 iterations is 1622856<br /> Memory consumption after 6000 iterations is 1806856<br /> Memory consumption after 7000 iterations is 1990864<br /> Memory consumption after 8000 iterations is 2174872<br /> Memory consumption after 9000 iterations is 2424448<br /> Memory consumption after 10000 iterations is 2608448<br /> Memory consumption after 11000 iterations is 2792464<br /> Memory consumption after 12000 iterations is 2976472<br /> Memory consumption after 13000 iterations is 3160480<br /> Memory consumption after 14000 iterations is 3344480<br /> Memory consumption after 15000 iterations is 3528496<br /> Memory consumption after 16000 iterations is 3712504<br /> Memory consumption after 17000 iterations is 4027576<br /> Memory consumption after 18000 iterations is 4211640<br /> Memory consumption after 19000 iterations is 4395640<br /> Memory consumption after 20000 iterations is 4579648<br /> Memory consumption after 21000 iterations is 4763656<br /> Memory consumption after 22000 iterations is 4947656<br /> Memory consumption after 23000 iterations is 5131672<br /> Memory consumption after 24000 iterations is 5315680<br /> Memory consumption after 25000 iterations is 5499688<br /> Memory consumption after 26000 iterations is 5683688<br /> Memory consumption after 27000 iterations is 5867704<br /> Memory consumption after 28000 iterations is 6051712<br /> Memory consumption after 29000 iterations is 6235712<br /> Memory consumption after 30000 iterations is 6419720<br /> Memory consumption after 31000 iterations is 6603736<br /> Memory consumption after 32000 iterations is 6787736<br /> Memory consumption after 33000 iterations is 7233888<br /> Memory consumption after 34000 iterations is 7417896<br /> Memory consumption after 35000 iterations is 7601912<br /> Memory consumption after 36000 iterations is 7785912<br /> Memory consumption after 37000 iterations is 7969920<br /> Memory consumption after 38000 iterations is 8153928<br /> Memory consumption after 39000 iterations is 8337928<br /> Memory consumption after 40000 iterations is 8521944<br /> Memory consumption after 41000 iterations is 8705952<br /> Memory consumption after 42000 iterations is 8889952<br /> Memory consumption after 43000 iterations is 9073960<br /> Memory consumption after 44000 iterations is 9257976<br /> Memory consumption after 45000 iterations is 9441984<br /> Memory consumption after 46000 iterations is 9625984<br /> Memory consumption after 47000 iterations is 9809992<br /> Memory consumption after 48000 iterations is 9994008<br /> Memory consumption after 49000 iterations is 10178008<br /> Memory consumption after 50000 iterations is 10362016<br /> Memory consumption after 51000 iterations is 10546024<br /> Memory consumption after 52000 iterations is 10730024<br /> Memory consumption after 53000 iterations is 10914040<br /> Memory consumption after 54000 iterations is 11098048<br /> Memory consumption after 55000 iterations is 11282056<br /> Memory consumption after 56000 iterations is 11466056<br /> Memory consumption after 57000 iterations is 11650072<br /> Memory consumption after 58000 iterations is 11834080<br /> Memory consumption after 59000 iterations is 12018080<br /> Memory consumption after 60000 iterations is 12202088<br /> Memory consumption after 61000 iterations is 12386104<br /> Memory consumption after 62000 iterations is 12570104<br /> Memory consumption after 63000 iterations is 12754112<br /> Memory consumption after 64000 iterations is 12938120<br /> Memory consumption after 65000 iterations is 13122136<br /> Memory consumption after 66000 iterations is 13830424<br /> Memory consumption after 67000 iterations is 14014432<br /> Memory consumption after 68000 iterations is 14198440<br /> Memory consumption after 69000 iterations is 14382440<br /> Memory consumption after 70000 iterations is 14566456<br /> Memory consumption after 71000 iterations is 14750464<br /> Memory consumption after 72000 iterations is 14934472<br /> Memory consumption after 73000 iterations is 15118472<br /> Memory consumption after 74000 iterations is 15302488<br /> Memory consumption after 75000 iterations is 15486496<br /> Memory consumption after 76000 iterations is 15670496<br /> Memory consumption after 77000 iterations is 15854504<br /> Memory consumption after 78000 iterations is 16038520<br /> Memory consumption after 79000 iterations is 16222520<br /> Memory consumption after 80000 iterations is 16406528<br /> Memory consumption after 81000 iterations is 16590536<br /> Memory consumption after 82000 iterations is 16774552<br /> Memory consumption after 83000 iterations is 16958552<br /> Memory consumption after 84000 iterations is 17142560<br /> Memory consumption after 85000 iterations is 17326568<br /> Memory consumption after 86000 iterations is 17510568<br /> Looks like its still there. ------------------------------------------------------------------------ [2010-04-16 10:41:21] johan...@php.net Keeping it on "Feedback" till there was actual feedback. ------------------------------------------------------------------------ [2010-04-15 13:01:42] mat999 at gmail dot com ok on the weekend Ill remake my build environment and see what I can do. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/bug.php?id=51347 -- Edit this bug report at http://bugs.php.net/bug.php?id=51347&edit=1