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

1
vote
0answers
245 views

swapping or trashing with vast amounts of unmapped pagecache

I'm using kubuntu jaunty (i386 32bit), kernel 2.6.28-13-generic. I've 4Gb of RAM, of which only 3317Mb are seen by the system (I guess because of the 32bit system). I'm seeing that the pagecache ...
1
vote
3answers
3k views

tweak windows 7 virtual memory and cache / caching settings

im on windows 7 64 bit, with 4gb of memory whenever i copy or deal with a big ammount of data, windows swaps out everything from memory to the virtual memory swapfile, to make room to data cache. ...
2
votes
3answers
99 views

Temporarily adding my user to another system

So i need to send in my mac laptop for repair and i have plenty of development work to do for the week that it will be gone for. I can borrow a laptop but obviously it wont have my data and dev stuff ...
7
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??
2
votes
3answers
669 views

Does having swap space on a solid state drive affect the drive's lifetime?

Let's say you have an 8GB solid-state hard drive, which has a limited number of writes by nature (I think). If you have swap space for your Ubuntu installation, will the lifetime of your solid state ...
9
votes
4answers
7k views

Windows 7 100% Memory Usage (without any process listed as using that much memory)

When I plug my external USB 2TB hard drive into my windows 7 box, my RAM usage climbs up to all 4 Gigs (but in task manager it shows that all process are small) and the hard drive is churning like ...
4
votes
3answers
1k views

How to interpret Windows XP's Virtual Memory Info - the 10 numbers and 1 graph

How are the numbers in the Windows XP Virtual Memory info to be interpreted? I am actually just interested in: 1) What is the total size that is free as in "untouched" physical RAM, so that the ...
2
votes
2answers
2k views

Any performance gain by putting Windows Pagefile.sys onto an Software RAID-0 Striped Volume?

I have a workstation class laptop running 64bit Windows-7 with 8GB-RAM (expandable to 16GB) and Dual SATA2 7200rpm disks. I know my system will be making heavy use of the pagefile since I will be ...
11
votes
5answers
3k views

How much swap is a given Mac application using?

Is there any way to tell whether a particular application running on Mac OSX (10.2+) has some of its memory swapped out (i.e., to one of the /private/var/vm/swapfile* files)? And how much? Bounty ...
7
votes
4answers
3k 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 ...
2
votes
2answers
3k views

Moving the OS X swap file to a faster drive

I have a new Mac Mini that's running the latest version of Snow Leopard. The internal drive is a bit of a slouch. I'd like to move the swap file (or whatever it's called is OS X) to my faster external ...
2
votes
2answers
2k views

How can I make Windows XP use more than 2.5GB of RAM?

At work, I have four system with Windows XP SP 3 with 4GB RAM installed. When I start a lot of apps, I see that Windows gets unstable when more than 2.5GB of RAM is in use with the usual effects: ...
1
vote
3answers
1k views

What is the meaning of pri=42

When mounting a swap partition on Linux, what does the mount option pri=42 mean? fstab: /dev/hda1 swap swap pri=42 0 0
72
votes
11answers
49k 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 ...
2
votes
2answers
1k views

How do I make two linux partitions share a swap partition?

I have two Ubuntu linux partitions, and each has its own swap space. Is it possible to make them use the same swap space?
0
votes
1answer
1k views

Does an Ubuntu Server need swap space?

I'm setting up a home server that will be used for backups and serving up files over the Internet with Ubuntu Server 8.04.3. Do these kinds of tasks require swap space?
1
vote
1answer
2k views

Memory percentage in top (linux)

Just wondering (1) is the memory percentage in top for a process is relative to memory or relative to memory+swap? (2) if it is the former, how can I get the latter? Vice versa. (3) To determine ...
3
votes
1answer
773 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 ...
4
votes
1answer
1k 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 ...
28
votes
8answers
24k 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. ...
6
votes
2answers
10k views

Turn on swap memory on Ubuntu

For some reason on my Ubuntu 9.04 desktop, swap memory is turned off. How can I turn it back on?
23
votes
4answers
24k 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 ...
10
votes
4answers
9k 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 ...
27
votes
6answers
58k 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 ...
23
votes
10answers
40k 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 ...