Here are the steps to create the swap file :
======
#dd if=/dev/zero of=/mnt/swapfile bs=1M count=1024
#mkswap /mnt/swapfile
#swapon /mnt/swapfile
#echo "/mnt/swapfile none swap defaults 0 0" >> /etc/fstab
======
That's it :
Note : I shall discuss about the virtual memory(What exactly it is) and how kernel is creating virtual address space for a process before loading the process on the physical memory ie RAM(Primary memory). Just follow me...
By : cpanel.net

Responses
0 Respones to "How to increase the size of virtual memory on linux?"
Post a Comment
»Thank you for reading this article
If you have questions or comments, please leave a comment
»You can click on the Subscribe by email to subscribe comments of this post
»You can register directly link pictures, mp3, video on the comment form.
»You may use some HTML tags such
»Please post comments polite and typing accented Vietnamese if possible
»Thank the good faith comment