-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Memory leak with asyncpg and Python 3.11 #8763
Copy link
Copy link
Closed
Labels
asyncioexternal library/application issuesa separate library / application that's not SQLAlchemy has a problem (dependent or dependee)a separate library / application that's not SQLAlchemy has a problem (dependent or dependee)memoryissues related to memory useissues related to memory use
Metadata
Metadata
Assignees
Labels
asyncioexternal library/application issuesa separate library / application that's not SQLAlchemy has a problem (dependent or dependee)a separate library / application that's not SQLAlchemy has a problem (dependent or dependee)memoryissues related to memory useissues related to memory use
Describe the bug
The code below consumes memory at the rate about 200 MB/s. The similar code calling asyncpg directly doesn't have the issue and demonstrates that asyncpg itself seems not to be affected.
To Reproduce
The full sample in a container: https://github.com/roman-g/sqlalchemy-memory-leak