Report this

What is the reason for this report?

Upgrading from Ubuntu 16.04 to 14.04 takes up more ram with python than before.

Posted on May 18, 2018

I recently transferred my projects from one droplet to another (Didn’t upgrade, transferred). I did it for personal reasons but it happened. I have 2 processes mainly running. One a discord bot in 7k servers (7 shards) and a flask server w/ Nginx. I originally had upstart setup to auto restart bot but now I am service’s in 16.04.

What I am asking is how could the percents based on Digital Ocean data via Dashboard has come up due to the transfer? What are some unneeded things I could do to remove all this memory usage (which is mainly coming from the 2 python projects). Both process are talking up half the memory (used to be just 30%) so y’all got any tips?

I’m using python3.x



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Memory is a cache, which means it is fine to have it use a lot of memory as long as new processes have room to use it as well. So if you are at 50% that’s not an issue. You may want to see if there is anything that needs to be restarted to free memory up, but again because it’s basically a cache unless you are at 100% there is no system performance degradation so you aren’t losing any performance.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.