you can also use your flash drive as a swap or any other partition in your hard disk
1 - plug your flash drive or mount disk drive and format it into swap partition by Gparted
2 - open terminal type command
su
*3* - see the disk drive or flash drive by
fdisk -l
4 - on the swap by
swapon -v /dev/sdb1
where /dev/sdb1 is the usb flash drive or disk drive formatted on swap file system.