You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suppose here is a memory leak. cattrs converter function use linecache by default to store a byte code of the generated converted function, so each time we called _get_cattrs_converter our custom dict function is cached.
I suppose here is a memory leak. cattrs converter function use
linecache
by default to store a byte code of the generated converted function, so each time we called_get_cattrs_converter
our custom dict function is cached.POC
Click to expand
Leaking code
app-store-server-library-python/appstoreserverlibrary/models/LibraryUtility.py
Lines 67 to 68 in 26f2682
Possible fix
Looks like we can cache entirely
_get_cattrs_converter
or disable line caching at the cattrs
The text was updated successfully, but these errors were encountered: