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 leaks when doing many requests with the same client instance #65

Open
arnaud-lb opened this issue Sep 20, 2016 · 2 comments
Open

Comments

@arnaud-lb
Copy link

Hi

When doing a lot of requests with the same Client instance, the php process consumes a lot of memory over time. I have php processes consuming 5GB right now.

Is this is known problem ?

@poliander
Copy link

There are known issues regarding memory leaks when using curl with CURLOPT_RETURNTRANSFER (e.g. ruflin/Elastica decided to use PHP output buffers instead). I'd recommend to switch this here, too

@ccurdt
Copy link

ccurdt commented Oct 15, 2017

The bad hungry curl opt 'returntransfer' was replaced by the OB method.

Problem solved

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

No branches or pull requests

3 participants