onefifthblueonefifthblue.xyz·Apr 4, 2024在 Ubuntu 上开启 Swap在内存不够大时,需要开启Swap,使用一部分硬盘,作为虚拟内存,解决内存容量不足的情况。这篇博客是以 Ubuntu 基础来操作的,其他 Linux 系统基本类似。很简单,跟着下面的步骤,一步一步来操作即可。 注意:下面命令的操作,都是在终端中进行的 1. 确定当前没有开启 Swap 在终端使用命令 free -m 查看输出结果 total used free shared buffers cached Mem: ...serverAdd a thoughtful commentNo comments yetBe the first to start the conversation.