Menu
Newbedev LogoNEWBEDEV Python Javascript Linux Cheat sheet
Newbedev LogoNEWBEDEV
  • Python 1
  • Javascript
  • Linux
  • Cheat sheet
  • Contact

Trying "yum -y update" Cannot allocate memory

Your VPS doesn't have enough memory available. You can see how much there is by running:

free -gh

The g shows how much memory is available in gigabytes and h puts in it human-readable format. You can use mh if you want to see it in megabytes.

In order for yum to work, you'll need to stop services to free up memory. You can see which processes are using what amount of memory by using the ps command.

Tags:

Yum

Centos

Centos 7

Related

How do I set a default app for an extension that is not listed? Is it possible to get FFmpeg to use hardware acceleration for HEVC transcoding on macOS? Macbook Pro very slow on Dual monitor setup? What commands would I use to create two child processes serially? How are capacitor lifespans measured in hours Does the "authenticity of host can't be established" message in SSH reflect a security risk? How do I change Markdownlint settings in Visual Studio Code Certificate: export from Firefox, import to Windows store C:\SYSTEM.SAV filled with suspicious files. Can I delete this folder? How to color output columns of ls? Why do switches say 10/100/1000? Install GCC in Git for Windows bash environment

Recent Posts

Pandas how to find column contains a certain value Recommended way to install multiple Python versions on Ubuntu 20.04 Build super fast web scraper with Python x100 than BeautifulSoup How to convert a SQL query result to a Pandas DataFrame in Python How to write a Pandas DataFrame to a .csv file in Python
© 2021 newbedevPrivacy Policy