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 am facing memory leak issues for my app on production which is based on flask(with flask_restful) served on gunicorn in GKE cluster. The memory consumed by the gunicorn workers are increasing with the no of requests. Ideally, after serving the requests, it should come down to normal value but don't. So, for memory profiling I am using guppy3 module. In the profiling logs, I can see something related to flask_restful.reqparse.Arguments dictionary[as shown below].
Can someone please confirm if it is a memory leak in flask_resful package or it's a false positive type datapoint?
Index Count % Size % Cumulative % Kind (class / dict of class)
Examine how you're using the reqparse module from flask_restful in your application. Make sure you're properly releasing resources and deallocating objects when they are no longer needed.
Hello Community,
I am facing memory leak issues for my app on production which is based on flask(with flask_restful) served on gunicorn in GKE cluster. The memory consumed by the gunicorn workers are increasing with the no of requests. Ideally, after serving the requests, it should come down to normal value but don't. So, for memory profiling I am using guppy3 module. In the profiling logs, I can see something related to flask_restful.reqparse.Arguments dictionary[as shown below].
Can someone please confirm if it is a memory leak in flask_resful package or it's a false positive type datapoint?
Index Count % Size % Cumulative % Kind (class / dict of class)
Gunicorn configuration:
Python version = 3.9.13
flask = 1.1.4
werkzueg = 1.0.1
flask_restful = latest
The text was updated successfully, but these errors were encountered: