본문 바로가기

카테고리 없음

Jetson Nano - Increase Swap Memory

반응형

Increase Limited Jetson Nano Memory (4GB)

1. Adjust the swap file size based on your own needs.

$ sudo fallocate -l 8G /mnt/8GB.swap
$ sudo mkswap /mnt/8GB.swap
$ sudo swapon /mnt/8GB.swap

2. Then, add the line following line into /etc/fstab by running

/mnt/8GB.swap none swap sw 0 0
$ sudo gedit /etc/fstab

3. Reboot the system

4. Make sure the swap space gets mounted automatically after reboot.

$ top

반응형