Django memory leak: possible causes?

前端 未结 1 1705
执笔经年
执笔经年 2020-12-23 15:08

I\'ve a Django application that every so often is getting into memory leak.

I am not using large data that could overload the memory, in fact the application \'eats\

相关标签:
1条回答
  • 2020-12-23 15:33

    I haven't found the exact stuff I'm looking for (each project is a world!), but following some clues and advices I managed to solve the issue. I share with you a few links that could help if you are facing a similar problem.

    django memory leaks, part I, django memory leaks, part II, Finding and fixing memory leaks in Python and Debugging memory leaks in a WSGI application.

    Some useful SO answers/questions: Which Python memory profiler is recommended?, Is there any working memory profiler for Python3, Python memory leaks and Python: Memory leak debugging

    Update

    pyuwsgimemhog is a new tool that helps to find out where the leak is.

    0 讨论(0)
提交回复
热议问题