I have a large tornado application that I need to port from ubuntu 14 to ubuntu 16. In my tests, I noticed that on ubuntu 16, memory usage has increased and I want to find out why.
I used a memory profiler to track memory usage. You can see the results in the image,
with black, this is memory usage on ubuntu 16, and blue is on ubuntu 14.
Used versions of Python:
- Python 2.7.6 -> ubuntu 14
- Python 2.7.12 -> ubuntu 16
Used version of Tornado: 4.5.1
I do not know how to find the problem and what to do next. If you are faced with a similar situation, share the steps that helped you find the root cause.
source share