when some programs consume huge amount of virtual memory, make use of temporary SWAP space.
This can be achieved by mkswap and swapon
* For EG: To have 64 MB extra swap space
dd if=/dev/zero of=/swapfile bs=1024 count=65535
mkswap /swapfile
swapon /swapfile
where “/swapfile” is the swap filename. The location of this file depends on the availabilty of File System’s Space and the write permission.
when you dont need this anymore, remove it using the following commands
swapoff /swapfile
rm /swapfile
No comments:
Post a Comment