Swap partition
what is swap partition? – portion of hard disk space is used as RAM. useful for system which has less RAM and still want to run large programs.
How to create swap memory in linux?
- create a empty file of required swap size
dd if=/dev/zero of=/swap-file bs=1k count=65536
swap memory = count*bs = 65536*1k = 64 MB - convert this file into a swap file format
mkswap /swap-file 65536 - enable swap file system
swapon /swap-file
1 Comments:
Windows world we call it as virtual memory but i have never configured it on windows...let me try....
Post a Comment
<< Home