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

20
votes
10answers
36k views

Windows Swap (Page File): Enable or Disable?

From my personal experience I've noticed that disabling the page file in Windows XP has given me, in general, the most speed gain out of any other software change I can make. Obviously this has to be ...
62
votes
11answers
44k views

Should I keep my swap file on an SSD drive?

I'm considering getting an SSD drive to run as the primary OS partition. As I understand, this should provide a substantial improvement in performance. My question is this: Should I leave the swap ...
24
votes
6answers
47k views

Swap partition size for 4GB RAM

I'm planning to install Ubuntu 9.04 version. How much space should I dedicate for swap partition. I remember setting it to double the RAM size when I installed long back. At that time my RAM was 256 ...
14
votes
4answers
14k 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 ...
25
votes
8answers
22k views

Moving the swapfiles to a dedicated partition in Snow Leopard

I have been able to move Apple's virtual memory swapfiles to a dedicated partition on my hard drive up until now. The technique I have been using is described in a thread on forums.macosxhints.com. ...
18
votes
4answers
20k views

Can I hibernate Linux without a swap partition?

I hadn't set up a swap partition on my PC, because a) I have plenty of RAM (8 GB) and b) I have large harddrives that I didn't want to chop into tiny pieces, so my smallest partitions are 50 GiB, and ...
9
votes
4answers
7k views

Releasing swap space

At times the kernel seems to be intent on keeping e.g. firefox in swap, even though there is enough physical memory available and I'm using firefox: robert@rm:~> free -m total ...
6
votes
3answers
3k views

Why should the size of the swap partition be double of the RAM size?

Why is it recommended that the swap partition size be double that of the RAM size? Specifically, why would I need to store data stored in the RAM twice??
8
votes
5answers
2k views

Disadvantages of not having a swap partition

I recently installed Ubuntu 10.04 on my laptop. Due to space constraint of the SSD, I did not set a swap partition for the OS, and I have 1.5GB of RAM. There's a warning during installation, but I ...
6
votes
4answers
2k views

How can I use the keyboard to switch the mouse between left-handed and right-handed?

We have both left-handed and right-handed users in our house. It would be handy to be able to change this setting from the keyboard rather than using the Mouse control panel. Is there a way to ...
-3
votes
3answers
3k 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, ...
18
votes
4answers
15k views

Why OS X use swap when there is lots of “inactive memory”?

I am using OS X from few months (Lion and now Mountain Lion). I have 8 GB on my mini and almost daily now it get close to that. On Windows 7 machine with 8 GB I never had that kind of problem. Anyway, ...
4
votes
3answers
3k views

Reserve RAM for cache and buffer

I usually run many programs and virtual machines on my desktop. The CPU isn't the bottleneck but the memory. (Buying more memory isn't a solution because it's not my own computer.) I started ...
7
votes
3answers
4k 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 ...
3
votes
1answer
755 views

disable pre-emptive swapping in windows xp

If I leave my XP pc for a while, it seems to swap most of my processes to disc. I come back to use it after X hours/days and each process takes 10-30s to get going as it loads it in off disc. It seems ...
1
vote
1answer
883 views

Windows 8 pagefile on usb FLASH

Not duplicate :) Windows 8 hides usb flash drives in the list of virtual memory drive list. The picture taken when I installed 2 usb flash drives but they are not in the list. Any body knows the ...
13
votes
3answers
25k views

How can I swap colors with GIMP?

I have made an image with three colors: RGB I want to swap each channel to a specific color. Is there a way to do that efficiently with GIMP? Example: I would like: Blue: #434343 Red: #EEEEEE ...
6
votes
5answers
4k 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 ...
4
votes
4answers
4k 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 ...
3
votes
2answers
694 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 ...
4
votes
1answer
990 views

Unnecessary Swapping in Linux

It seems that sometimes, my computer will start swapping unnecessarily (memory usuage is ~25%), and I can't figure out why. It seems to happen most often when running Perl scripts, but these aren't ...
3
votes
1answer
137 views

Where is terminal scroll back information stored (how does tmpfs work)?

While trying to test something unconnected, I launched an infinite loop on my terminator terminal emulator which printed a lot of data to STDOUT. After running it for a few minutes, I noticed that my ...
1
vote
1answer
57 views

Windows obstinately shrinking the pagefile

I admit I have rather small free space available on my C:\ drive (only 3-4 GiBs usually, with a 4 GiB pagefile being around), but what really annoys me is this: Windows sometimes does an operation(1) ...
1
vote
2answers
2k views

Moving Swapfile in Mac OS X Lion

I had previously consulted this thread when using snow leopard to move all swap to an SSD: Moving the swapfiles to a dedicated partition in Snow Leopard The information appears to be out of date at ...