|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-07-01 23:52 UTC] contact at jamesluedke dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sat Jan 03 01:00:02 2026 UTC |
Description: ------------ after runTasks() the task object is never freed, causing a memory leak. run the included sample client and watch the process size. On my system is grows roughly by 1MB every second. The same bug is currently in the perl interface and I have no idea how to fix it. ;-) Reproduce code: --------------- <?php $gmc= new GearmanClient(); $gmc->addServer(); while (1) { $task= $gmc->addTask("reverse", "this is a test", NULL); $gmc->runTasks(); } exit; ?>