You are not logged in.
Pages: 1
Hi guys,
I'm trying to run some strain calculations but my PC keeps running out of memory (first the RAM (4gb) and after that the swap memory (1GB), checked it with free). I know that for these particular calculations <8GB of memory should suffice. Does anybody know how to increase the swap memory from 1GB to 4GB without reinstalling arch linux?
Cheers,
Joris
Last edited by keizer (2010-04-10 23:00:14)
Offline
You can create a swapfile
http://wiki.archlinux.org/index.php/HOW … #Swap_file
Make a 8GB swapfile and use it.
OR make your swap partition bigger
OR buy more RAM
Offline
1) replace swap with swapfile
http://wiki.archlinux.org/index.php/Swap
2) set properly swappiness:
vm.swappiness = 100
number corresponds to % of swap than can be used
set
vm.vfs_cache_pressure=500
you can adjust these settings permanently via /etc/sysctl.conf or temporarily:
sysctl -w vm.swappiness="100"
these settings will not affect system performance if RAM memory is not exhausted but will help if swap is needed.
Offline
Thanks,
Creating a swap file worked!
Greetings
Offline
Pages: 1