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

[Potential issue] Using AsyncClient leads to OOM #3496

Closed
1 task
JasperHG90 opened this issue Feb 10, 2025 · 1 comment
Closed
1 task

[Potential issue] Using AsyncClient leads to OOM #3496

JasperHG90 opened this issue Feb 10, 2025 · 1 comment

Comments

@JasperHG90
Copy link

Hi,

Thanks for this library. I'm enjoying it a lot.

We're experiencing some strange behavior using the AsyncClient that I wanted to run by you. At my client, we use the async client in an application to make between 2K-1M requests per GCP cloud run job. The async client leads to OOM errors. When we use the sync client, we don't see these errors.

Image

Image

I noticed similar-ish issues in #1488 and #978. It doesn't matter if we use a single client for the entire session or open/close multiple ones. The OOM errors persist.

I will try to make a reproducible example and post it here this week. (the code I refer to above belongs to a client).

Have you seen this before?

Thanks in advance,

Jasper.


  • Initially raised as discussion #...
@tomchristie
Copy link
Member

Interesting, thanks.

Requesting that contributors use the discussion space for initiating conversations.

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

2 participants