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

0
votes
1answer
18 views

How to swap Fn and Ctrl keys on Lenovo L540

I recently got a new computer and the Fn/Ctrl keys are driving me crazy. Can anyone tell me the proper way to swap Function Fn and Control Ctrl keys on Lenovo L540?
0
votes
0answers
19 views

Ubuntu swap not mounted half of the time

I have about 8 different ubuntu systems using different versions of ubuntu/lubuntu/kubuntu/mythbuntu/etc. Some are physical machines, some are virtual. The issue I always have is that upon booting up, ...
11
votes
5answers
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 ...
0
votes
0answers
18 views

Know which is the biggest matrix that can be computed in MATLAB

I mainly use MATLAB for solving linear problems such as Ax = b and the eigenvalue eig/eigs one. I noticed in my current configuration (OS X, i7 2,3GHz, 16GB RAM) that I can compute without using swap ...
-1
votes
0answers
20 views

RAM being displayed is lesser than the actual in my Windows 7

I am using Windows 7 and Ubuntu on the same machine. Earlier I had 3 GB of RAM,but now the Windows is displaying just 1 GB of RAM. Please also find the output of the free command in my Ubuntu : ...
-1
votes
3answers
49 views

What is the swap file for?

I don't get it why is that the more RAM memory you have, the larger the swap file is. Shouldn't it be the other way around? I was under the impression that HDD space is used when there isn't enough ...
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 ...
9
votes
1answer
408 views

increase desktop responsiveness on linux while swapping

All GNU/Linux distributions I tested so far have the problem that whenever the ram gets filled and the system begins swapping, the whole desktop and graphical user interface becomes unresponsive as ...
1
vote
1answer
14 views

Bind Solaris 10 swap file

I have created an Oracle swap file to enhance my swap space. I have to do this for a Oracle Client installation. After creating swap file i Run the swap command to specify the additional swap space ...
1
vote
2answers
69 views

even if we have enough RAM space, why OS will use SWAP memory? [duplicate]

from the above pic, you can see we have 3191 RAM free, but at the same swap is also using about 661 bytes. why it is occurring ? can any give a glance regarding this. Thanks
0
votes
3answers
85 views

How to increase swap memory in Windows? [duplicate]

I bought a new system with 4 GB of RAM. I don't know how do I check how much swap memory I have allocated. I know that we can increase RAM physically. I want to increase swap memory on windows. How ...
1
vote
2answers
77 views

When is swap memory useful? Why do we need to set it to twice the amount of RAM? [duplicate]

I know that memory will be swapped whenever RAM usage is high. And I read that we need to set swap to be twice of the amount of RAM. But why? How will it shift from RAM to swap? If we do not have swap ...
1
vote
1answer
21 views

How can I change the amount of data copied back into RAM when resuming in Linux?

Normally when I shut down my computer I hibernate. On the next boot I then resume. My problem is, that it seems that Linux just copies the least amount of data that is needed back into ram, because ...
1
vote
0answers
56 views

Should the CPU usage go up to 100% when swap happens on Linux

I had been running a demo system on Linux with the following kernel: 2.6.32-400.1.1.el5uek #1 SMP Mon Jun 25 20:25:08 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux And as soon as swap happens, the CPU ...
1
vote
1answer
55 views

When memory is swapped to disk, and later RAM is freed, does the memory get swapped back into RAM?

I'm guessing the answer depends on the OS. In this case, it is VMware ESXi. I created a low memory condition by migrating several VM's to a host that has memory over-committed. Once page sharing and ...
0
votes
0answers
69 views

What is the exact difference between the parameters (pgpgin, pswpin) and (pswpout, pgpgout) in /proc/vmstat?

Please note that this question is specific to linux only. And by swap space, I mean the dedicated swap partition. I did google a bit on this, and found these definitions: Paging refers to writing ...
0
votes
1answer
308 views

I have a Linux swap partition but how do I set it up permanently?

I have a laptop with 2GB RAM and not the funds to buy more RAM. Ever since I installed 64-BIT Mint (MATE desktop), I am using more than 1GB RAM compared to between 170 - 500MB when I was in 32-BIT ...
0
votes
1answer
69 views

Why does my swap partition not appear in GParted (runnning Linux Mint in VMWare)?

I'm running Linux Mint 17 in VMWare. htop reports that I have a swap of size 8187MB: http://postimg.org/image/a54es37wd/ I'd like to increase this but GParted doesn't show any swap partition: ...
6
votes
3answers
9k 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 ...
7
votes
2answers
5k 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 ...
2
votes
4answers
693 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
1answer
39 views

Agilent/HP 3070 Series III - HP-UX 10.20

I am attempting to solve a problem where I am unable to compile a file which is attempting to generate a file within the swap larger then whats allowed or free. I assume this to be the case because ...
2
votes
1answer
39 views

Pick which swap partition to use for Suspend to Disk

Is there anyway in Linux to pick which swap partition to use for Suspend to Disk? I have a setup with 2 swap partitions, one on an SSD and one on a HDD. I want the swap partition on the HDD to be used ...
1
vote
5answers
1k views

Linux - Move partition from back of disk to the front for performance

Hard drives have faster performance at the beginning of the platter (see zone bit recording). According to an answer to "What is the purpose of multiple swap files?", you should put your swap ...
0
votes
0answers
61 views

Linux Has Become Very Slow Dealing With Large Data

Last year I bought a computer, for around $1,800, so it is relatively high-end. When I first got it I was particularly pleased at how quick it dealt with large MySQL queries, imports and exports. But ...
0
votes
1answer
151 views

why do i get swapping even if i set vm.swappiness to 0?

I have a couple centos 6.5 x64 servers with 64GB ram running lots of kvm vps's. some of these servers have no swap usage at all and some do. I've set swappiness to zero. However some still swap even ...
0
votes
0answers
33 views

Does zswap compress pages, that written to swap device?

Does zswap compress pages, that written to swap device? Is it eligible to reduce swap IO?
0
votes
2answers
216 views

Increase Performance by utilizing RAM instead of swap (Windows 8) [duplicate]

My computer is pretty fast, but I feel it may be getting slowed down by putting things in swap which would do better in RAM. I have 16 GB of ram, and even in conditions where only around 3 GB is used, ...
11
votes
4answers
14k 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 ...
0
votes
1answer
65 views

I want to increase the swappiness in my windows 7

as I have 60% RAM usage every time. I have already increased Virtual Memory (Increased Swap Size) but want to increase swappiness too. see my RAM usage:
45
votes
5answers
27k 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 ...
0
votes
1answer
71 views

Move swap partition

How can I move swap (sda5) partition in my Debian 7 from main SSD disk to second HDD? lsblk output NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sdb 8:16 0 931.5G 0 disk ├─sdb1 8:17 0 ...
8
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
2answers
204 views

Can I use Nand flash as a swap memory in Embedded Linux?

I have 128 MB of Ram in one of my products, which was sufficient when we released first version of the product. But now we added some extra features in it, So this much Ram may cause a problem of OOM. ...
0
votes
0answers
84 views

OS-X how do I figure out is my swap file is enabled?

This may be a strange case, but I used to enable and disable my swap file depending on which apps I wanted to run. (I found that disabling the swap file when I would run Parallels made a difference. ...
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?
2
votes
2answers
408 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 ...
2
votes
2answers
96 views

how much swap space is too much on x64 and will cause problems?

Apart from using up too much disk space, how much swap space can you allocate before it will degrade performance or cause problems on an x64 OS? What differences are there between the x64 OSes? I'm ...
1
vote
1answer
68 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) ...
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 ...
1
vote
1answer
695 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
644 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: ...
0
votes
1answer
40 views

Windows page file

I'm working on some CGI and am running out of RAM as well as page file space. However I have a second drive with a little extra space I could use for swapping. I have one question: If the swap space ...
12
votes
2answers
220 views

Is it possible to hint Windows to bring a process completely out of swap

Is it possible to hint the Windows virtual-memory-manager to bring a particular process out of swap? The situation I often find myself in is normally using about 50% of my RAM for all the normal ...
10
votes
3answers
8k 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 ...
1
vote
1answer
397 views

Swap performance testing

I understand the general concept of swap memory, but I need to somehow build a program that forces the use of swap memory for performance testing and I don't know where to even begin. Basically, I am ...
1
vote
1answer
273 views

On Centos 6.3, why do several swap measuring methods return different results?

I have a production system running centos 6.3 with 96 Gb RAM and swap of 2 Gb. The intention is that there is enough RAM on the box so that no processes should get swapped. Over the last week or so ...
1
vote
1answer
1k 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 ...
16
votes
3answers
26k 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 ...
7
votes
3answers
5k 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 ...