Extra Ram Using a Thumb Drive

This method of adding RAM capacity will not yield much of a performance boost. But is may be useful for troubleshooting or for allowing you to complete some difficult computing processes. It should go without saying that the faster your USB the better this works. Also the memory stick must be empty, you will need to move or delete any files that have been saved on this memory stick.

Windows

http://www.instructables.com/id/Extra-Ram-Using-a-Thumb-Drive/?ALLSTEPS

Step 1: Memory Stick

Plug in the memory stick.

Step 2: Properties

Right click on the device and select properties, then "ReadyBoost".

Step 3: How Much?

Now you need to choose whether or not you want to use the whole device or only a portion. Select this using the options.

Step 4: Done

You are done!

Linux

In linux you can dedicate the usb drive to SWAP OR simply create a SWAP file. Creating a SWAP file (rather than using the whole drive) allows you to also keep normal files on the drive.

Mount or locate the mount

find out where the stick is mounted. Look in nautilus or issue the mount command in the terminal

Create an Empty File

create an empty file:

 dd if=/dev/zero of=/media/YOURSTICK/swap bs=4096 count=131072
This creates a 512 MB file (512 * 1024^2 / 4096 = 131072)

Create and Enable SWAP

create the swap and enable it

 sudo mkswap /media/YOURSTICK/swap && swapon -p 1000 /media/YOURSTICK/swap 

Last modified:: 2016/03/19 16:03