понедельник, 29 марта 2021 г. в 15:57:43 UTC+3, Julio Oña:
> It looks like the problem is on celery. 
> The mentioned issue is still open, so not sure if it was corrected. 
> 
> https://manhtai.github.io/posts/memory-leak-in-celery/ 

As I mentioned in my first message, I tried to run
this task(class) via Flask API calls, without Celery. 
And results are the same. Flask worker receives the API call and
executes MyClass().run() inside of view. After a few calls 
worker size increases to 1Gb of RAM. In production I have 8 workers,
 so in idle they will hold 8Gb.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to