#25820 [Opn]: PHP 4.3.3 Memory leak.
ID: 25820 User updated by: david dot ruiz at elementstudio dot com dot br Reported By: david dot ruiz at elementstudio dot com dot br Status: Open Bug Type: DOM XML related Operating System: RedHat linux 9 PHP Version: 4.3.3 New Comment: With this modification i can use the "$xmlQueue->free()" function. create_element("queue_out"); $xmlQueue->append_child($xmlQueue_root); $str = $c."sn"; echo $str; sleep(1); unset($str); $xmlQueue->free(); } ?> Previous Comments: ------------ [2003-10-10 20:05:55] david dot ruiz at elementstudio dot com dot br Ok! [2003-10-10 13:44:57] luiz dot pestana at elementstudio dot com dot br I solved the problem by adding the declaration of function "domxml_doc_free_doc" in the file "ext/domxml/php_domxml.c". 260 - PHP_FE(domxml_parser_end_document, NULL) 261 - PHP_FE(domxml_parser_get_document, NULL) 262 - PHP_FE(domxml_doc_free_doc, NULL) // here -------------------- [2003-10-10 13:29:48] david dot ruiz at elementstudio dot com dot br Every time i use unset on a xml object, it doesn't clean (delete) from the memory ... every time i create a xml, it increases the used memory. I've found some articles that talk about it, but the solution given only applies to the version 4.0.6. http://bugs.php.net/bug.php?id=14037 [2003-10-10 11:37:42] [EMAIL PROTECTED] Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. ..why wouldn't it grow? -------------------------------- [2003-10-10 09:52:05] david dot ruiz at elementstudio dot com dot br Description: The memory used by php to run to the folowing script is growing without stopping I tried php snaps... but the problem was not solved. Reproduce code: --- create_element("queue_out"); $xmlQueue->append_child($xmlQueue_root); $str = $c."s\n"; echo $str; sleep(1); unset($str); unset($xmlQueue_root); unset($xmlQueue); } ?> Expected result: No memory overflow. Actual result: -- The memory used by php is growing without stopping. -- Edit this bug report at http://bugs.php.net/?id=25820&edit=1
#25820 [Bgs->Opn]: PHP 4.3.3 Memory leak.
ID: 25820 User updated by: david dot ruiz at elementstudio dot com dot br Reported By: david dot ruiz at elementstudio dot com dot br -Status: Bogus +Status: Open Bug Type: DOM XML related Operating System: RedHat linux 9 PHP Version: 4.3.3 New Comment: Ok! Previous Comments: [2003-10-10 13:44:57] luiz dot pestana at elementstudio dot com dot br I solved the problem by adding the declaration of function "domxml_doc_free_doc" in the file "ext/domxml/php_domxml.c". 260 - PHP_FE(domxml_parser_end_document, NULL) 261 - PHP_FE(domxml_parser_get_document, NULL) 262 - PHP_FE(domxml_doc_free_doc, NULL) // here [2003-10-10 13:29:48] david dot ruiz at elementstudio dot com dot br Every time i use unset on a xml object, it doesn't clean (delete) from the memory ... every time i create a xml, it increases the used memory. I've found some articles that talk about it, but the solution given only applies to the version 4.0.6. http://bugs.php.net/bug.php?id=14037 [2003-10-10 11:37:42] [EMAIL PROTECTED] Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. ..why wouldn't it grow? -------- [2003-10-10 09:52:05] david dot ruiz at elementstudio dot com dot br Description: The memory used by php to run to the folowing script is growing without stopping I tried php snaps... but the problem was not solved. Reproduce code: --- create_element("queue_out"); $xmlQueue->append_child($xmlQueue_root); $str = $c."s\n"; echo $str; sleep(1); unset($str); unset($xmlQueue_root); unset($xmlQueue); } ?> Expected result: No memory overflow. Actual result: -- The memory used by php is growing without stopping. -- Edit this bug report at http://bugs.php.net/?id=25820&edit=1
#25820 [Bgs]: PHP 4.3.3 Memory leak.
ID: 25820 User updated by: david dot ruiz at elementstudio dot com dot br Reported By: david dot ruiz at elementstudio dot com dot br Status: Bogus Bug Type: DOM XML related Operating System: RedHat linux 9 PHP Version: 4.3.3 New Comment: Every time i use unset on a xml object, it doesn't clean (delete) from the memory ... every time i create a xml, it increases the used memory. I've found some articles that talk about it, but the solution given only applies to the version 4.0.6. http://bugs.php.net/bug.php?id=14037 Previous Comments: [2003-10-10 11:37:42] [EMAIL PROTECTED] Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. ..why wouldn't it grow? [2003-10-10 09:52:05] david dot ruiz at elementstudio dot com dot br Description: The memory used by php to run to the folowing script is growing without stopping I tried php snaps... but the problem was not solved. Reproduce code: --- create_element("queue_out"); $xmlQueue->append_child($xmlQueue_root); $str = $c."s\n"; echo $str; sleep(1); unset($str); unset($xmlQueue_root); unset($xmlQueue); } ?> Expected result: No memory overflow. Actual result: -- The memory used by php is growing without stopping. -- Edit this bug report at http://bugs.php.net/?id=25820&edit=1
#25820 [NEW]: PHP 4.3.3 Memory leak.
From: david dot ruiz at elementstudio dot com dot br Operating system: RedHat linux 9 PHP version: 4.3.3 PHP Bug Type: DOM XML related Bug description: PHP 4.3.3 Memory leak. Description: The memory used by php to run to the folowing script is growing without stopping I tried php snaps... but the problem was not solved. Reproduce code: --- create_element("queue_out"); $xmlQueue->append_child($xmlQueue_root); $str = $c."s\n"; echo $str; sleep(1); unset($str); unset($xmlQueue_root); unset($xmlQueue); } ?> Expected result: No memory overflow. Actual result: -- The memory used by php is growing without stopping. -- Edit bug report at http://bugs.php.net/?id=25820&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25820&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25820&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25820&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25820&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25820&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25820&r=oldversion Not developer issue:http://bugs.php.net/fix.php?id=25820&r=support Expected behavior: http://bugs.php.net/fix.php?id=25820&r=notwrong Not enough info:http://bugs.php.net/fix.php?id=25820&r=notenoughinfo Submitted twice:http://bugs.php.net/fix.php?id=25820&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25820&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25820&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25820&r=dst IIS Stability: http://bugs.php.net/fix.php?id=25820&r=isapi Install GNU Sed:http://bugs.php.net/fix.php?id=25820&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=25820&r=float