-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Huge memory leak when using CommandPool #1699
Comments
Hi @html5maker, thanks for reaching out to us. Unfortunately I haven't been able to reproduce the behavior you're describing. I replaced
In addition to this I configured Laravel on a custom Docker container to use
Is it possible that there's something else in your environment that could be affecting the reported memory usage? |
The problem still exists. But it seems to be in GoogleCloudPlatform/php-docker#468 You can reproduce it in the following way:
---end---
|
@html5maker @vbarbarosh We are investigating improvements in memory management of the AWS SDK for PHP and will be tracking progress on this in #1273. Please don't hesitate to contribute to the discussion on that issue with your findings relating to this behavior. |
I experienced similar issues... I hit the memory limit however when I divided into 1000 command chunks it executed smoothly (max 300MB top memory usage vs. 3GB):
|
Can we reopen this one? We have experienced almost double increase of memory usage when fetching S3 Objects using CommandPool from PHP 8.0 to 8.1, this is really not acceptable in production system |
CommandPool is using too much memory (memory leak).
Tested with official Google php docker image (7.0, 7.1, 7.2)
Steps to reproduce
--- end ---
The text was updated successfully, but these errors were encountered: