ID: 13225
Updated by: sterling
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Bogus
Bug Type: cURL related
Operating System: linux
PHP Version: 4.0.6
New Comment:

not a php bug.

Previous Comments:
------------------------------------------------------------------------

[2001-09-10 04:46:48] [EMAIL PROTECTED]

Hiya

If you run this script you will only see your mem usage (slowly) grow; it looks like 
curl_close won't free the memmory as it won't make a diff if you use it or not :)

Greetz,

Wico

<?
        ob_implicit_flush(TRUE);

        for ($x = 0; $x < 100000; ++$x) {
                $handler = curl_init();
                curl_setopt($handler, CURLOPT_URL, 
'http://www.php.net/manual/en/pcre.pattern.syntax.php');
                curl_setopt($handler, CURLOPT_RETURNTRANSFER, 1);
                $data = curl_exec($handler);
                curl_close($handler);
                unset($handler, $data);
        }
?>

------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=13225&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to