|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-06-17 07:38 UTC] nlopess at -php dot net
[2005-06-17 13:27 UTC] john@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 02:00:01 2025 UTC |
Description: ------------ Using configuration directive tidy.default_config to specify tidy's configuration file causes memory leak. Reproduce code: --------------- Running the following command php -d max_execution_time=0 \ -d max_input_time=0 \ -d tidy.default_config="C:\php-5.0.3\tidy.cfg" \ -r "while (true) { new tidy(); }" and using task manager, you can see the memory used by php.exe increases steadily. Running the following command php -d max_execution_time=0 \ -d max_input_time=0 \ -d tidy.default_config="" \ -r "while (true) { new tidy(); }" the memory usage is stable.