Tornado Application Memory Usage

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, ubuntu 14 vs ubuntu 16 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.

+5
source share
1 answer

Without knowing anything else, I venture to suggest that you see the difference between 32-bit architecture on Ubunutu 14 and 64-bit architecture on Ubuntu 16. Have you tried running uname -a for each?

0
source

Source: https://habr.com/ru/post/1272097/


All Articles