Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory overflow #65

Closed
gsons opened this issue Sep 11, 2019 · 2 comments · Fixed by #96
Closed

Memory overflow #65

gsons opened this issue Sep 11, 2019 · 2 comments · Fixed by #96

Comments

@gsons
Copy link

gsons commented Sep 11, 2019

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
Copy link
Member

nadar commented Aug 29, 2022

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

@nadar nadar closed this as completed Aug 29, 2022
@nadar nadar changed the title Memory overflow!!!! Memory overflow Aug 29, 2022
@nadar
Copy link
Member

nadar commented Oct 31, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants