内存管理
跳转到导航
跳转到搜索
释放缓存:
sudo sh -c "echo 3 > /proc/sys/vm/drop_caches"
只释放“已缓存”部分
echo 1 > /proc/sys/vm/drop_caches
外部链接
- Linux Used内存到底哪里去了? | 系统技术非业余研究
- Drop Caches - linux-mm.org Wiki
- 记一次内存占用问题的调查过程 - MWB日常笔记
- 怎样诊断slab泄露问题 | Linux Performance
- /proc/meminfo之谜 | Linux Performance
- The effect of switching to TCMalloc on RocksDB memory use
swap
- 【譯】替 swap 辯護:常見的誤解 - Farseerfc的小窩, 關於 swap 的一些補充 - Farseerfc的小窩
- Swap on HDD: Does placement matter? (tl;dr: Yes) – Vidar's Blog
相关条目
- 内存(硬件)