Get the App
SLTechnology News&Howtos  ›  Development  › 

What if the Linux virtual memory is not enough?

Shulou Source: shulou.com Published: 2022-06-01 20:56:25 10月02日 Update

This article mainly explains the "Linux virtual memory is not enough to do", the article explains the content is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "Linux virtual memory is not enough to do" it!

Solution:

1. Establish a swapfile:

2. Format it into swap format:

3. After mounting, you can use it. Mount command: swapon / tmp/newdisk

Comparing the swap partition before and after mounting, you can find that there is more space for 1024MB.

Thank you for your reading, the above is the content of "Linux virtual memory is not enough to do". After the study of this article, I believe you have a deeper understanding of the problem that Linux virtual memory is not enough to use, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Tags: Not enough memory what to do learning content format command that is ideas situations articles methods more knowledge knowledge points space articles follow questions practice Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple macOS Redmi Linux Huawei