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

4
votes
2answers
6k 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
676 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 ...
1
vote
0answers
2k views

How change linux swap disk priority permanently

I'm using two swap disks. Changing the order they are in in /etc/fstab and using "pri" in fstab doesn't have any effect. This is what it looks like /etc/fstab #swap on other disk ...
7
votes
5answers
5k 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
2k 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
333 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 ...
0
votes
1answer
68 views

On Ubuntu, will I benefit by using a swapfile on a network share?

My setup is as follows: A strong desktop, with quad core CPU and a 7200RPM HDD. A weak three years old lenovo laptop, used as a media center, running Ubuntu. They are connected using WiFi (N). ...
15
votes
3answers
29k 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 ...
0
votes
1answer
3k views

How to find which programs are using up swap space

How can I figure out which programs are using up swap space? My current memory usage is 2.9GiB out of 3.0GiB used(and I though I had 4GB, I need to check into that) and 1.3Gib of swap used.
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 ...
4
votes
2answers
419 views

Bringing pages for a particular process out of swap

I'd like to know if it's possible to bring pages from a particular process into main memory, or to set parameters for a given process, or class of process so that it will not be swapped out.
4
votes
1answer
351 views

Is there a way to exclude a specific drive vdi from “snapshots” in VirtualBox?

...or is there another space-efficient way of dealing with the page/swap file of the Guest O/S? I've realised that its quite possible/likely that one of the things which "bloats" the snapshot/diff ...
1
vote
1answer
142 views

How can I get vim to set an ACL on its swap files?

I use vim on an OS X Snow Leopard Server machine. A number of the directories I work in have ACLs (so that various groups of users can access them over AFP) that are inherited. For some reason, when ...
4
votes
1answer
1k views

How to tell Linux to explicitly swap out main memory of a suspended process?

I run a memory-hungry process (mkcromfs) which consumes more memory than I have physical memory on my latop, so it is paging and swappin and thrashing all the time and loadavg is about 2 (compcache is ...
1
vote
0answers
225 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
97 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 ...
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??
2
votes
3answers
658 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
6k 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
4answers
2k 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
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 ...
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
63
votes
11answers
45k 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
988 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?
0
votes
1answer
1k 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
760 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 ...
26
votes
8answers
23k 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. ...
3
votes
2answers
8k 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?
19
votes
4answers
21k 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
8k 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 ...
24
votes
6answers
50k 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 ...
20
votes
10answers
37k 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 ...