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
1answer
127 views

Is ecryptfs-setup-swap persistent?

I have what I think is a quick question: Is running ecryptfs-setup-swap on a system that didn't have home-directory or swap encryption enabled when it was installed persistent? The man page at ...
3
votes
1answer
160 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 ...
19
votes
2answers
1k views

Linux Mint doesn't boot after creating a swap partition

When I was creating my Linux hard drive, I skipped creating a swap partition, thinking that 4GB would be enough RAM. Now, I think I do need a swap partition. I asked some people on IRC how to do this, ...
2
votes
3answers
3k views

Swapon failed: Invalid argument on a Linux system with Btrfs filesystem

What's wrong with this sequence of operation, running on a Debian Squeeze system with a Btrfs filesystem? $ dd if=/dev/zero of=swapfile2 bs=1024 count=524288 $ sudo mkswap swapfile2 $ sudo chown ...
5
votes
4answers
3k views

What happens when linux OS out of RAM and no swap

What happens when linux OS is out of RAM and no swap is available?
0
votes
3answers
1k views

How can I find out the size of a swap partition?

What are the sizes of the following swap partitions? root@pc:~# swapon -s -v Filename Type Size Used Priority /dev/sda5 ...
-1
votes
1answer
462 views

set up permanent ramdisk in ubuntu to not using ram when is the ramdisk empty

My laptop running Ubuntu 12.04 has 8GB RAM. I added following record to /etc/fstab tmpfs /media/ramdisk tmpfs defaults,noatime,mode=1777 0 0 What exactly does it mean? I have tested that I can ...
1
vote
2answers
160 views

Turn off swap for single program. Windows 8

Can I turn off using swap for single program? Visual Studio for example. Or set high priority of using memory by this program?
0
votes
4answers
119 views

Partitioning a Linux based system

I am using Linux Mandriva OS. During installation my friend suggested 2GB for the swap partition and the remainder as the root partition. What is the use of providing a separate space for root? ...
0
votes
1answer
80 views

Can I temporarily swap out my new MacBook hard drive with the old one?

I recently upgraded my standard hd to an ssd. There are some files on the old one that I still need to access. Can I simply swap the current one for the old one temporarily? Just to email off some ...
2
votes
2answers
359 views

Too Much Swapping, even though RAM is ~75% Empty

I have a VPS with 9GB RAM, 300GB HDD, 3 GB Swap, 7 Cores. The OS is CentOS 5.7 Final. I have postgres9.0 running on my machine, with proper tuning done (at least by book/wiki of PostgreSQL). What ...
1
vote
1answer
346 views

How to create an encrypted swap partition in Debian 6?

I am installing Debian and would like to set up the /swap partition as encrypted. I am able to select either encrypted physical device or as swap/swap. Are there any methods to create an encrypted ...
3
votes
1answer
382 views

How do I prevent my computer from freezing when it starts to swap?

I work as a Java programmer, so I often have to run several programs at the same time that consume a lot of memory. When my memory is full and Linux starts swapping, my computer almost completely ...
1
vote
0answers
53 views

possibility of swap space has larger data in it than in my physical memory

Quoting the Deployment Guide from centos.org that is, Swap space in Linux is used when the amount of physical memory (RAM) is full. And that Wikipedia also said that, the term "swap" [is ...
0
votes
2answers
1k views

Why using swap file over a SMB/NFS mounted filesystem is not possible in Linux?

I'd like to use another machine's unused RAM as swapspace for my primary Linux installation. I was just curious about performance of network ramdisks compared to local (slow) mechanical hard disks. ...
4
votes
1answer
256 views

swap rule 1.5 *memory= swap still valid [duplicate]

Possible Duplicate: Why should the size of the swap partition be double of the RAM size? Does the rule of 1.5 *memory= swap still apply in these days where systems can have32 GB of memory. ...
5
votes
1answer
270 views

How can I use a remote machine for swap space?

I have two Linux boxes, one of which doesn't have much RAM or disk space. How would I go about setting up a swap file on the second machine for the first to use?
3
votes
2answers
327 views

More RAM than motherboard supports using ram disk + swap?

I want to put 6GB of RAM in a motherboard that supports 4. I heard something about using the excess RAM as a RAM disk and formatting that partition as SWAP, but that doesn't seen like it will work. I ...
6
votes
1answer
2k views

Confused about Windows 7 64-bit page file with SSD

I followed this advice to get Windows to use more RAM and less paging. To be honest, I'm a total noob to all this page file stuff. I've always just assumed that Windows was using the 8 GB of ram I ...
1
vote
1answer
512 views

Mount /tmp on swap in Linux

I have seen this before ... the /tmp directory mounted on swap space. I am aware something similar can be done using tmpfs, but I don't think that what was being used. I too would like to mount /tmp ...
0
votes
0answers
71 views

Forcing suspended jobs to swap all memory in Ubuntu

Is is possible to suspend a job and force all of its memory to swap? I've got six jobs running, and they're competing with each other for resources. So much gets wasted on system swapping that they ...
0
votes
1answer
1k views

New Ubuntu 12.04 install doesn't have swap working

This is a brand new Ubuntu 12.04 installation on my netbook. During installation I selected to encrypt my home folder. Now I'm trying to set up hibernation, but my swap partition isn't working. ...
2
votes
1answer
2k views

controling tmpfs memory usage

Any way to limit the amount of RAM used by tmpfs wihtout limiting the amount of swap? Most documentations says that tmpfs' size option will limit the total size of the tmpfs partition and later on ...
19
votes
4answers
16k 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, ...
2
votes
1answer
624 views

My Ubuntu laptop swap cache to disk freeze my system

My laptop is Thinkpad x220, 4G ram, harddisk is 7200rpm, installed with Ubuntu 12.04, using Unity desktop. When I open eclipse and chrome, they eat about 2G memory. Here is the free -m result: ...
2
votes
2answers
1k views

Linux zram (compcache) + SwapCached

I have a question about zram + swapcached. I know that zram is a compressed swap in memory, but linux use it's own internal SwapCached area to store recent swap pages also in memory. I have a 512MB ...
0
votes
2answers
2k views

How much swap space needed for 4GB RAM [duplicate]

Possible Duplicate: Swap partition size for 4GB RAM For 4GB RAM how much swap space needed ? If I made 8GB as swap space, weather my system become slow ? If so then what is the reason for ...
0
votes
1answer
634 views

How to see whats eating my swap space on linux

I have a unique situation here where a Java app I wrote is choking when it forks and creates some child processes. According to the error logs I'm seeing there is a java.lang.UNIXProcess method ...
1
vote
1answer
542 views

Replace 60GB solid state drive with a higher capacity one [duplicate]

Possible Duplicate: Move smaller hard drive to partition on a larger hard drive restore a smaller hard drive 320GB image to a larger harddrive 1TB I have a 60 GB solid state hard drive on ...
-1
votes
1answer
110 views

RamFS over sshFS as swapspace

Guys I have to computers at office, boxA - 256mb RD-ram with decent cpu boxB - 1.5 gigs of ram with terrible cpu Network cards are 10/100 I plan to sshfs into boxB and mount a ramfs of boxB as ...
1
vote
1answer
144 views

Mount physical disk with swap included

I'm using VirtualBox and a virtual hard disk, formatted as a swap partition, for booting a virtual machine with a USB key. The guest machine is Ubuntu 10.04. I realized that there's no swap partition ...
0
votes
1answer
2k views

Windows 7 Hard fault / Page fault and memory bottleneck

Windows 7 resmon displays 0 hard faults. But perfmon shows pagefault around 60 and perfmon /report tells me my system swaps actively. AFAIK not every page fault is hard fault: page could be stored ...
4
votes
4answers
1k views

'cache swap' filesystem for SSD/HDD combo?

As we all know, Solid State Drives (SSD) are expensive ($/Gb) but they are quick to access. I'm wondering if there exists a sort of software-kernel-level 'cache swap' filesystem technology; the idea ...
5
votes
1answer
4k views

Disable Mac's dynamic_pager?

I read this blog post about the memory management in Mac OS X: http://workstuff.tumblr.com/post/20464780085/something-is-deeply-broken-in-os-x-memory-management I would like your opinion on the ...
2
votes
2answers
1k views

How to use compcache for Linux 3.2 (Debian Wheezy)

How do I set up and configure compcache for Debian Wheezy (3.2 kernel). As far as I can understand compcache is now in the kernel and is not to be found in the debian repo either. Compcache should be ...
9
votes
2answers
295 views

How to “swap in” again memory from page file to physical memory in Windows at once (like linux swap-off)

Is there a way to swap back in (to put back all the memory data that was put into the page file (or swap, whatever you prefer)) memory on a windows PC? On linux, one can easily do this with the ...
2
votes
2answers
3k views

Using SSD as Linux RAM

I have a very very fast SSD OCZ Revo. I want to use a lot of RAM but I'm limited to 4GB RAM for the moment. If I use my SSD OCZ Revo as swap (the whole of it, 160GB), does that mean I have effectively ...
2
votes
4answers
663 views

Force swapping of certain stopped processes

When I'm playing minecraft, my computer often has to swap because Google Chrome takes much RAM, too. So, I'd like to manually swap out Google Chrome. I know that I can temporarily stop all its ...
0
votes
2answers
345 views

Swap implication in Linux and way to increase it

I used top command to print this on Linux box: [root@localhost ~]# top top - 23:38:38 up 361 days, 12:16, 2 users, load average: 0.09, 0.06, 0.01 Tasks: 129 total, 2 running, 126 sleeping, 1 ...
1
vote
1answer
2k views

Would upgrading memory from 4GB to 8GB on my laptop solve swapping issues?

I have a laptop with 4GB of memory with Windows 7 on it and I often experience with Eclipse that it is swapped out to disk. On the net they usually write 4GB of RAM is more than enough for average ...
3
votes
2answers
1k views

Low RAM in Debian/Ubuntu causes complete hang with disk thrashing

I've been having this severe performance issue, both in Ubuntu 11.10, and Debian Wheezy: If one process uses up a great deal of RAM (say, 3700 MB out of 3900 MB), the system quickly becomes unusable, ...
1
vote
0answers
316 views

Can't move OS X swap file to another folder, it keeps being recreated

So I followed these instructions to the letter ---> Moving the swapfiles to a dedicated partition in Snow Leopard But for some reason, the swap files keep being regenerated in the same folder. I've ...
1
vote
1answer
136 views

What does the messsage "Adding *k swap on …' mean?

I have the following message in the syslog on some machines: Adding 8385920k swap on /dev/sda3. Priority:-112957 extents:1 across:8385920k What does it mean? Is it a problem? And why is this ...
2
votes
3answers
109 views

Need more swap space - out of disk slots

A server I am using was setup incorrectly with only 1G of swap space. There are no more hard disk physical slots. There is content on the existing disks. I would like to resize the partition, but ...
1
vote
1answer
411 views

Do Linux swap partitions need to be cloned?

I'm in the process of cloning my hard disk in order to test some unstable software. One of the partitions is Linux-swap. From my understanding, it can be used by the os as additional ram. So this ...
3
votes
1answer
465 views

OS X “Swap used”

I'm a bit confused here, I'm trying to open a tab in Chrome and sometimes it takes few seconds while freezing my computer significantly so that I can't use even to bring Dock menu... I even closed ...
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 ...
5
votes
1answer
154 views

Prevent important OS X process being swapped out, without code change?

I want hotkey-based utilities like Quicksilver or Zooom to respond immediately. But if they have been idle for a while, they (I guess) get swapped out, and respond slowly, sometimes not even ...
2
votes
2answers
390 views

How to make a good guess for the swap partition size when using tmpfs?

I have an SSD, so space is a scarce resource. I'd like to use up as little as possible for swap. In fact, I have spent the last year completely without a swap partition (the computer has 6 GB RAM). ...
1
vote
1answer
227 views

What type of data is stored in the swap partition?

When a page fault occurs, the system must fetch the page from disk. Does this mean that there is a page table stored on the hard drive for every running process (to fetch the page from)? If yes, ...