1. swap memory
- 윈도우의 가상 메모리와 같음.
- swap 메모리를 설정하는 방법은 두 가지가 있음.
- 스왑 파티션을 사용하는 방법
- 스왑 파일을 만들어서 사용하는 방법
2. swap file setting
- init swap memory
sudo fallocate -l 4G /swapfile sudo chmod 600 /swapfile sudo mkswap /swapfile sudo swapon /swapfile
- auto mount swap memory after reboot
sudo vi /etc/fstab
/swapfile swap swap default 0 0
3. remove swap memory
- disable auto mount for swap memory
sudo vi /etc/fstab
- disable swap memory
sudo swapoff -v /swapfile sudo swapoff on /swapfile sudo rm -r /swapfile
4. See Also
4.2. Similar Pages
Similar pages by cosine similarity. Words after page name are term frequency.