For those who need more VM, and wish to use their entire MicroSD card for this purpose: (WARNING: This will erase the entire MicroSD card, or worse, some or all of your internal memory if you mistype the device name.. If you plan to proceed, I recommend that you have some idea what you are doing) In x-term: Code: sudo gainroot mkswap /dev/mmcblk1p1 swapon /dev/mmcblk1p1 The last line will have to be rerun each time your device is rebooted, unless you add an init script to run it.
sudo gainroot mkswap /dev/mmcblk1p1 swapon /dev/mmcblk1p1