Swap space is a virtual memory of RAM. It is used when the amount of RAM is full. Swap space can be a dedicated swap partition, a swap file, or a combination of swap partitions and swap files.

learn more… | top users | synonyms

8
votes
1answer
491 views

Can two Linux partitions use the same swap space?

I have Ubuntu 10.04 and Windows 7 installed on my machine, due to some reasons I need to install one more copy of Ubuntu.. Is it possible that the new Ubuntu uses the same swap space used by previous ...
0
votes
1answer
424 views

How can I restore a partition to its former NTFS file system?

While installing Ubuntu 11.04 I was asked to choose a swap area for better performances, so I chose my 1T hard drive(which had only one partition). The problem is that I did not know it will use the ...
1
vote
1answer
1k views

Linux Virtual Memory/Swap isn't being used

I think my virtual memory is not configured correctly on my MintLinux machine. I opened up a new IDE, IntelliJ IDEA, and my whole system appeared to freeze. I tried to TTL to the console but that did ...
3
votes
3answers
872 views

Should I symlink my /private/var/vm dir to another volume in OS X Lion?

So I just installed an SSD in my MBP and have been a bit concerned about running out of disk space. I noticed that /private/var/vm holds an 8.6 gb sleepimage file as well as swap files. I'd be much ...
1
vote
1answer
2k views

What is the difference between swap entries in fstab?

I've been looking around and seen two different things ways to declare swap in fstab. I've seen something like the line below: UUID=UUID-HERE none swap sw 0 0 and UUID=UUID-HERE none swap swap 0 ...
1
vote
1answer
247 views

Linux swap position on hdd

As far as I know hard drives are faster at the beginning of the disk. If this is true, why does Ubuntu put the swap partition to the back of the disk by default?
1
vote
3answers
746 views

Will increasing swap partition size increase the memory that can be used by a program?

I have a program that requires a lot of memory. So much that the malloc fails as the system goes out of memory. I don't care if the overhead for swapping pages in and out of the disk is too high - I ...
0
votes
1answer
490 views

Installing Windows 7 onto a Raid 5 setup without an install disk. Can it be done?

I am upgrading my motherboard from a crappy dell prefab to a Foxconn Inferno Katana. I am also upgrading my ram from crappy stock dell ram to G.Skill. I have decided to set up a raid system, now ...
5
votes
1answer
89 views

Do locked pages get shredded from disk after resuming from suspend-to-disk?

Locked pages are sometimes used to store crypto keys like for Luks or for encfs and other sensitive things. But when doing hibernate (without swap drive encryption) they get stored to disk ...
0
votes
2answers
5k views

Windows 7 Virtual Memory Optimization - ReadyBoost vs. Flash Swap vs. RAM Disk?

At first i thought ReadyBoost means having swap file allocated to flash drive which is wrong because ReadyBoost serves as additional storage for swap file or should i say it mirrors swap file on hard ...
1
vote
4answers
284 views

SSDNow100VS2 Page File (Windows 7) [duplicate]

Possible Duplicates: How to control RAM / swap usage Should I keep my swap file on an SSD drive? I just put an SSDNow100VS2 into my laptop, with Windows 7 Ultimate 64, and 4GB of ram. I'm ...
1
vote
3answers
760 views

Memory and SWAP in Ubuntu

When I go to the system monitor in Ubuntu, about 75% of the Memory is used and 45% of Swap is used. Why is the Swap used even when Memory is available? Doesn't Linux move data from Swap to Memory?
46
votes
5answers
31k views

How to disable Mac OS X from using swap when there still is “Inactive” memory?

A common phenomena in my day to day usage (and several other's according to various posts throughout the internet) of OS X, the system seems to become slow whenever there is no more "Free" memory ...
-3
votes
3answers
5k views

Windows 7 - swap file on a USB disk? [duplicate]

Possible Duplicate: How to move the page file to another physical disk location Windows 7 I was given temporarily a PC, running Windows 7 Ultimate. The problem is it's hard drive is full, ...
7
votes
3answers
11k views

How can I find out processes are using swap space?

I have a linux server top reports about 9GB of swap used: But I cannot figure where's it use swap, some google results said that top - O commad follow by p will show swap usage by process. But as ...
4
votes
2answers
1k views

how to configure Linux to call oom_kill on its own

I do not want my computer to swap data to disk. I have no swap partition: $ free total used free shared buffers cached Mem: 3841912 3670012 171900 ...
0
votes
2answers
2k views

Resizing swap partition (RHEL 5.x)

The following is what parted print outputs: (parted) print Model: VMware Virtual disk (scsi) Disk /dev/sda: 26.8GB Sector size ...
17
votes
3answers
37k views

How can I make my computer use more RAM?

I'm running Windows 7 64-bit with 8GB of RAM. The problem is, I very rarely use all of it. I do some video editing from time to time and it definitely comes in handy then, but for everyday use, I'm ...
2
votes
1answer
294 views

Protected with Linux Per-Directory Encryption (no swap)?

I have been using full-disk encryption for some time on Linux with good success, but the additional layer of complexity that it adds is something I'd like to avoid, e.g. backup/system restore ...
14
votes
5answers
16k views

What's wrong with disabling the Windows page file?

People say that you always need a page file, and that it will increase performance, but my Windows 7 is set to run without a page file. I simply don't understand why people say this - I have 6 GiB of ...
1
vote
2answers
933 views

How to create Swap in Fedora?

I am new about swap and filesystem. Now I encounter a problem: 2G ext4 disk /dev/sda7 # Want to be used as swap in fedora 24G ext4 disk /dev/sda8 # My fedora is built on it without Swap As ...
1
vote
2answers
3k views

Why won't Ubuntu use swap?

I'm running 32-bit Ubuntu 10.04 on a 4-core AMD Phenom machine with 4GB of RAM. With normal use (a dozen or so Chrome tabs, 1 VirtualBox machine, 2 or 3 instances of QtCreator, ) the memory will ...
6
votes
3answers
9k views

Clean up swap memory

I am using ubuntu 10.10. My RAM is 3GB and swap memory is 2GB. After using my system for several hours, all of my swap memory is used up. Is there any way so I can clean up swap memory?
0
votes
1answer
214 views

Is it possible to swap two styles in Microsoft Word or modify the document map?

I've been writing a document in Microsoft Word and have been using the default Title style as my main heading for each section and Heading 1 for my sub-sections. However Word uses Heading 1 as the ...
11
votes
1answer
717 views

Using a SSD as my only drive on a laptop

My conventional hard drive is clicking (second time this year I've killed the drive), so I just bought a SSD to benefit from the lack of moving parts. However, I am deathly afraid of using this as the ...
1
vote
3answers
3k views

How to stop swap process in OS X?

How would I prevent OS X even looking for a swap file? I killed the swap file on my MBP. This is dead easy: just change the default swap file location so the system can't find it (goto ...
0
votes
1answer
103 views

Is that true that Windows can eventually address executable files as if they were parts of virtual memory?

I've once read somewhere that Windows can treat programs' executables and DLL files as parts of swap file rather than duplicating their content into pagefile.sys when swapping them out of physical ...
1
vote
1answer
657 views

Page file on a separate partition in Windows

I have recently rebuilt my computer (Windows 7 Pro 32bit), and am in the process of paritioning my hard drive. My question is, is it beneficial to make a separate partition for the page file, rather ...
9
votes
3answers
7k views

Tuning Windows 7 for use in a VM

I'm running Windows 7 in a VirtualBox Virtual Machine, and would like to make it run in a more streamlined fashion. I'll be using the install primarily for testing web apps, and have no need for it ...
13
votes
5answers
2k views

How do I quickly stop a process that is causing thrashing (due to excess memory allocation)?

We've all experienced it--some program is asked to do something that requires a huge amount of memory. It dutifully tries to allocate all this memory, and the system immediately begins thrashing, ...
0
votes
1answer
676 views

Made the USB Drive as Swap Partition, Installed it, How to undo it{Ubuntu 10.10}

Well,it was a very stupid thing to do on my part, But I made a 500 GB USB connected Hard Disk as my swap partition (thinking it will be only used during installation) and installed Ubuntu10.10. I ...
5
votes
1answer
1k views

Disadvantages of using a swap file/partition on an SSD, even when swappiness is set to 0 [closed]

What are the disadvantages of using a swap file/partition on an SSD, even when swappiness is set to 0 I'm particularly interested in the /proc/sys/vm/swappiness=0 case. How much writes are still ...
15
votes
4answers
18k views

How to control RAM / swap usage

Is there a way (application) to control RAM / swap usage policy at application level. I have some applications that I use all the time and I want them to stay in RAM all the time and there are also ...
4
votes
2answers
834 views

Page Faults without Swap-File?

I've found the obvious question and also it's bigger brother over at ServerFault. But my question is quiet different: If Page Faults are the moments in which the OS needs to load something from the ...
7
votes
2answers
6k views

Reduce “Metafile” memory usage?

My work computer (Windows 7 64-bit) spends a lot of time swapping memory when I switch between programs. This surprises me since I have 4 GB of RAM, and the programs I use aren't particularly RAM ...
0
votes
2answers
566 views

sizes of RAM, of virtual memory and of swap for 32-bit OS

If I understand correctly, a 32-bit OS (Ubuntu) can only address 4GiB memory, so RAM with size larger than 4Gib will only be used 4Gib of itself and the rest is a waste. I am now confused about this ...
2
votes
4answers
203 views

Filesystem of swap space

What is the name of the filesystem used for swap space?
0
votes
1answer
761 views

System thinks it is swapping, but isn't

I have a linux server (Ubuntu 10.04) which has no swap space (swapon -l reports nothing, 0kb swap memory listed in /proc/meminfo). The beginning of the output of top (sorted by %mem) is reproduced ...
14
votes
3answers
11k views

What's using my swap (Ubuntu)?

I have an Ubuntu 8.04 server which is running a database and a bunch of Java application servers. Its memory configuration and usage is: total used free shared buffers ...
26
votes
1answer
7k views

Where does VIM (gvim/macvim) keep swap files for unsaved/unnamed buffers?

Where does VIM (gvim/macvim) keep swap files for unsaved/unnamed buffers? (If it does so at all). Background: Throughout a semi intense seminar I was taking notes in an unnamed/unsaved MacVim buffer ...
0
votes
2answers
46 views

utilities of swapped partition

Can swapped space from hard disk be used to increase availability of RAM for playing games etc. on Windows XP?? Can anyone tell me how to do such a swap??
5
votes
4answers
5k views

Why do we need to set swap space as twice big as our physical memory?

When we want to setup a linux system, there is a common a suggestion to set the swap space twice as big as your physical memory. I want to know why do we need this, and how it is this suggestion come ...
6
votes
2answers
7k views

Linux disk access slows down system

My system slows down even when the CPU load is less than 100%, and I think it's doing this because it's writing to the swap partition. Yes, my swap partition is on a different disk than my OS. I ...
1
vote
1answer
765 views

linux swap disk priority

Let's say you have two swap disks, set up like this: swap1: priority = -1 swap2: priority = -2 Is this going to be any different from the following setup? swap1: priority = 47 swap2: priority = 10 ...
2
votes
1answer
2k views

How permanently change Linux swap disk priority

I’m using two swap disks. Changing the order they are in in /etc/fstab and using pri in fstab doesn’t seem to have any effect. This is what it looks like in the /etc/fstab: #swap on other disk ...
9
votes
4answers
8k views

What file system is swap on Linux

In Linux you can choose things like ext3 and reiserfs for partitions. For the swap partition, you just choose "swap." What file system is this, actually? Can you just create an ext3 partition and make ...
2
votes
3answers
2k views

Ubuntu memory usage

I'm running Ubuntu 10.04 and I do some dev with it. As I open FF, Chrome, Eclipse (Zend Studio 7.2), etc. and do some work, then leave, screen saver goes on, and when I come back a few hours later ...
0
votes
2answers
3k views

Changing Linux swap partition

I want to change the swap partition to another partition. Is there a gui that can make this process easier so I don't have to do things like manually editing files?
0
votes
1answer
2k views

What is “Swap Space” and “Locked Memory” in Solaris?

I am aware of the generic concept of swap space (in Linux). Is the same applicable for Solaris (solaris zones) too? Or is the swap concept different in solaris? Is there any connection between swap ...
1
vote
0answers
392 views

improving swapping strategy

I'm finding linux's swapping strategy to be somewhat less than ideal. In general I have a ton of processes running, maybe 40 or more big ones, and only end up using a few regularly. Nonetheless, I ...