php-mod/curl

Memory overflow

Closed this issue · 2 comments

gsons commented

when i run it on php cli mode,Memory overflow ! because the object method \Curl\Curl::__destruct()never run. i have to call method \CurlCurl::_close() on every curl request.

nadar commented

Maybe use unset($curl) (or what ever name your object has) in order to force destruct.

nadar commented

dear @gsons, it seems a valid concern, @patrickcarlohickman did a brilliant research see #95.