Hi,
We are trying to debug memory leaks in our flask app that is using SQLAlchemy version 1.3.16. When i was using tracemalloc python library and comparing the memory snapshots,
I found the below lines repetitively appearing in the snapshot differences: Could you please help us in providing us some pointers if we aren't using the lib properly or is there some caching going on that is causing this similar to what is mentioned here -
https://giters.com/sqlalchemy/sqlalchemy/issues/7242.
sqlalchemy/util/langhelpers.py:1429: size=3687 KiB (+18.5 KiB), count=3395 (+17), average=1112 B
sqlalchemy/sql/visitors.py:95: size=22.8 KiB (+5376 B), count=147 (+56), average=159 B
sqlalchemy/sql/schema.py:1346: size=2301 KiB (+3944 B), count=10157 (+17), average=232 B
sqlalchemy/sql/schema.py:1345: size=2301 KiB (+3944 B), count=10157 (+17), average=232 B
Thanks,
Anupama