Extend your RAM by adding a swap file: linux-add-a-swap-file-howto
a swap file is a file stored on the computer hard drive that is used as a temporary location to store information that is not currently being used by the computer RAM. By using a swap file a computer has the ability to use more memory than what is physically installed in the computer swapfile
In Short:
Login as root: su - or execute the commands with sudo in front
- dd if=/dev/zero of=/swapfile1 bs=1024 count=524288