7
【笔记】Linux 修改虚拟内存
source link: https://loli.fj.cn/2023/07/26/Linux%E4%BF%AE%E6%94%B9%E8%99%9A%E6%8B%9F%E5%86%85%E5%AD%98/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
【笔记】Linux 修改虚拟内存
2023-07-26 2023-07-27
Linux 修改虚拟内存
- 重启后实效
262144
:修改后的虚拟内存值
sudo sysctl -w vm.max_map_count=262144
通过修改配置文件永久修改虚拟内存
在配置文件
/etc/sysctl.conf
末尾追加
vm.max_map_count = 262144
- 查看是否添加成功
sysctl -p
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK