Question

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

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


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.