!nfoPlatter has moved to a new location!

You should be automatically redirected in 6 seconds. If not, visit
and update your bookmarks. Thank you!!

Saturday, 11 January 2014

Creating 'Swap' ['Virtual'] Memory on Linux/Unix Operating System

Here's some help for when you have too little RAM/memory and are trying to do memory-intensive steps, like indexing the human genome reference or doing other NGS-related processing.

The way to do it is to create a 'swap file', as follows:

1) Check disk/drive usages:

2) Create the space. This step is long if you select a large amount of space. In this example, 512MB is created under root (/), given that block size (bs) is 1024 bytes:

3) Switch it on:

*This will only last until you restart the operating system, so, useful as a temporary measure. To make the swapfile permanent, do the following:

4) Open the following file:

Paste in the following:

No comments: