LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Swap Memory / Virtual Memory in Fedora Core 6 (https://www.linuxquestions.org/questions/linux-newbie-8/swap-memory-virtual-memory-in-fedora-core-6-a-591870/)

Jojo_CFT 10-15-2007 03:40 AM

Swap Memory / Virtual Memory in Fedora Core 6
 
Hi Gurus, anybody can help me how to add "swap space" to my Linux Fedora Core6? When i run my application and process several commands, i get a "not enough memory error" . Currently, the system comes with 2 GB RAM, 250 GB HD and Intel Core 2 Dou 2.13 GHz..... in windows OS, we call it Virtual Memory, for Sun OS we call it swap space..what about in Linux? how do we add it? Sorry, quite new to Linux....

blackst0ne 10-15-2007 04:10 AM

Hi, Jojo_CFT.
In Linux a swap space is a simple disk partition with swap file system.
All you need is to create a new partition and just connect it up to your system.

sohny 10-15-2007 04:23 AM

how did u install linux.. in there it would have been easier to create a swap partition..

as far ur memory is concerned.. it seems its quite enough for FC6 ,

Even I am using FC6 with just 256 MB of ram & 1GB of swap space..

how to create swap space:

use fdisk first with device file as follows

fdisk /dev/hda <---- sample path urs may be diff

press p <-----shows all ur partitions
delete any small partition which u have allocated for swap space.. use d for delete or m for help

format the unallocated freespace into swap space


All times are GMT -5. The time now is 03:32 PM.