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
11 views

is it necessary to create swap partition while installing RHEL?

I'm a newbie to RHEL.I've installed RHEL 7 using VMware .but,during the installation ,it asked me to create Swap partition and i created it worth 2GB. please brief me the reasons.what if the swap ...
1
vote
0answers
18 views

How to limit swap usage?

I want my computer to automatically hibernate when the UPS switches to the battery, so I need enough free swap space at any moment. But if I activate the swap partition, even right before the ...
0
votes
1answer
54 views

Permanently increase swap size?

I'm using these commands to increase swap size (on existing swap): dd if=/dev/zero of=/.swapfile bs=1M count=1024 mkswap -v1 /.swapfile swapon /.swapfile It does increase, but after server reboot, ...
1
vote
1answer
18 views

Empty swapfile after using dd

According to many tutorials available on the internet (like for example this one https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-ubuntu-14-04 ), to generate a swapfile, i need to ...
0
votes
0answers
21 views

Prevent KDE from swapping

I've realized that my laptop was overheating as a result of lots of I/O, so I searched for the programs who used swap, and I found the following: $ pgrep kwin 13387 $ pgrep plasma-desktop 13424 $ cat ...
0
votes
1answer
78 views

Do I need to worry about over-provisioning? Can swap be used for this purpose if it is not being used?

I am running Linux Mint 17. I'm posting this on Superuser rather than Unix & Linux because this probably isn't a Linux-specific question. I was thinking of buying a SSD but a ~250GB drive will be ...
1
vote
1answer
31 views

Should a Linux Swap partition be on the RAID?

When setting up a new system, if I am planning on mirroring two hard drives, what should I do with the SWAP area? I can think of three things I can do... Do a mirror of the SWAP partition Stripe it ...
1
vote
1answer
42 views

how to check how much memory processes take?

As we know in Linux machines, we have RAM memory and swap memory. My first question is: What is the reason that the swap memory is increasing – because high level of using the RAM memory or ...
0
votes
1answer
91 views

What is swap and how to disable it on Ubuntu/Linux

I've read it many a times online that swappiness should be decreased or disabled. Is it so, what does it do? I have 2GB of Ram, should I disable swappiness?
1
vote
0answers
125 views

Debian extremely slow resume after hibernate

I have a very irritating issue with my Debian 8: resume after hibernate takes from 5 to 10 minutes. During resume time system shows me picture on a display but not respond, cursor are not moving, ...
-1
votes
1answer
170 views

How do I know how much swap is used on Windows 7?

Apparently, as per Commit charge is 100% full but physical memory is just 60% when using no page file and http://brandonlive.com/2010/02/21/measuring-memory-usage-in-windows-7/, the Commit numbers in ...
0
votes
1answer
23 views

What's the total amount of memory and swap a process is using?

http://windows.microsoft.com/en-us/windows/what-task-manager-memory-columns-mean#1TC=windows-7 If I'm reading correctly, there is no way to see how much swap is used by a process. Is this correct, ...
0
votes
1answer
34 views

Can a filled up swap partition cause file locking issues on linux

I have a machine at home running elementary OS 0.2 with very little RAM, the swap is always allmost full (I'll upgrade the RAM as soon as I can.) It has an OpenSSH server set up with public key ...
1
vote
0answers
262 views

Is it possible to make a swap space(partition) in windows 8.1 like linux?

I'm using alot of ram on a daily basis and I know you have swap partitions in linux to help this, is it possible to do in windows 8.1 and if so, how? thanks
0
votes
1answer
46 views

Windows 7 Swapping Threshold

When physical memory jumps to 80%, the RAM starts swapping itself to pagefile. How to increase this 80% threshold to say 90% ? I have 4GB of RAM which means the swapping starts when 3.2GB of RAM is ...
1
vote
0answers
39 views

Is it a bad idea to make a swap partition on a SSD?

Since it has limited amount of read/write cycles, it seems to be a bad choice but I have no solid reasoning on why or why not to use it other than that.
2
votes
0answers
92 views

OpenWRT and USB write cycle limit

Background (feel free to skip) I am currently usin OpenWRT at home. I have an external HDD connected to router's USB port for the network shared storage. Actual transfer speed from the HDD to the ...
0
votes
3answers
160 views

Linux server is running out of memory and swap

I guess there is some memory leakage and memory is not being freed. Is there some good ways to find out which process and why is leaking memory? The only temporary solution is to restart server. But ...
0
votes
1answer
52 views

Where's my RAM disk being stored?

I'm running an Ubuntu VM under Windows 7, within the VM I've allocated a 5GB RAM disk using sudo mount -t tmpfs -o size=5G tmpfs /mnt/gitRAM and then copied files into it. When I then look at conky ...
0
votes
1answer
562 views

dell xps 13, is it possible to swap ctrl and fn keys in bios?

This question was marked as a duplicate to a question about how to remap keys in the OS. This is not related to my question. Although most keys can easily be remapped in this way the fn key is ...
0
votes
1answer
87 views

linux not using swap, but OOM killer is triggered

I've been having this problem for a long time now, and I can't seem to figure it out, basically, my linux (32bit 3.2.6-3.fc16.i686.PAE) system is refusing to use the swap. When I run $ tail ...
1
vote
0answers
49 views

vim leaves a swapfile after crash with unknown owner

I am running Cygwin on windows. Several times now I've had a swap file left behind from vim after a crash, but it can't be recovered or deleted. "ls -l" shows this: -rw-r----- 1 Unknown+User ...
0
votes
1answer
85 views

What’s eating almost all memory and swap in this Linux machine? (not buffers/cached-related)

I have a Linux machine that reports almost all of its memory and swap are in use, yet I can’t identify any processes using a significant amount of memory on the machine. We are running Linux kernel ...
0
votes
1answer
233 views

How do i increase my swap partition size in Ubuntu?

I had a 2 GB RAM before. So When i installed Ubuntu i just gave 2 GB for Swap partition. Now I Had increased my RAM capacity to 4 GB . How can i increase my Swap capacity to run my OS smoothly? Please ...
11
votes
3answers
1k views

Does it matter about the amount of the swap area in Linux system

Does it matter if the amount of a swap area in Linux was set too small (say 1Gb), and the main RAM is 128Gb? Should we always set the amount of swap area to be twice the amount of RAM? UPDATED: Hi, ...
1
vote
1answer
266 views

What does it mean to have a swap partition mounted at /dev/null?

I ran swapon -s on a VPS that I’m using and discovered that there’s a swap partition pointing at /dev/null. # swapon -s Filename Type Size Used Priority /dev/null partition ...
2
votes
1answer
159 views

swap file vs partition

I needed some more swap for something I'm doing so I set up a swap file rather than editing partitions. Are there any disadvantages to using a swap file instead of a swap partition? My OS is ...
6
votes
3answers
1k views

How to enable linux swap partition?

I've got a swap partition, but the System Monitor in Linux Mint says, 'Swap not available'. I guess I've forgot to set 'Use as: swap' on install. How to fix this?
0
votes
0answers
141 views

Win8.1 Bad Virtual Memory Managment?

For the last couple weeks I'm facing a serious problem with my Win 8.1 32bit (64x CPU) 4G RAM, having "System Managed size" setting for virtual memory (then win allocates 1.8G), minimizing even light ...
0
votes
0answers
25 views

Place specific programs in virtual memory / swap memory

I was just curious if it was possible to identify programs that I want to be swapped and others that I want to keep in ram. For example, I've realized that Chrome sometimes takes up to 2GB of RAM and ...
0
votes
0answers
24 views

G510 Can I replace screen with higher resolution? [duplicate]

I have got Lenovo G510 with 15,6"1366×768 and I would like to replace with screen with 1920x1080 resolution. Is it possible? Do I have to change lcd cable or just swap screen?
0
votes
2answers
131 views

Windows 8.1: Is there a way to find out how much swap space is currently being used?

Not the size of the file on the disk. Older versions of Windows used to have "%pagefile in use" in the Performance Monitor. Thanks. UPDATE: In turns out Windows 8.1 still includes the Performance ...
0
votes
1answer
34 views

Disable swapping out of readonly pages etc. on linux?

Is there any way to prevent Linux from ever swapping out anything but rather go right to the OOM killer if it runs out of physical RAM? Background I have a Linux workstation that every once in a ...
3
votes
1answer
980 views

Create Linux swap on external USB 3 hard drive

I have an external USB 3 hard drive USB 3 port on Debian, and I would like to create a swap partition on that drive which drive also holds the partitions for databases and other high-volume stuff. ...
6
votes
1answer
404 views

What is swap partition

I read that the swap partition must have the double size of your RAM, that is optional to install, that is for hibernation mode only, several technical information that tells me what to do. I am using ...
0
votes
1answer
29 views

swap\pagefile of 2 levels

Lets assume I want to assign 2GB to swap(linux)/pagefile(windows) on SSD, and 16GB more on HDD. Is that possible to use the space on SSD as level 1 of virtual memory, and the space on HDD as level 2 ? ...
1
vote
3answers
192 views

Move swap contents back to the RAM once there's free memory

So I understand that swap mem is used when computer runs out of space on ram. Once there is available space in the memory how can I move contents of swap to ram so taht it doesn't slow me down?
0
votes
0answers
108 views

Mavericks isn't compressing memory

Specs: Mac OS X 10.9.5 | Macbook Pro Mid-2012 15" | 4GB RAM So recently I've been driving my machine to the limit with lots of bioinformatics work and didn't give it much rest. This afternoon it said ...
-1
votes
1answer
812 views

How can I use a flash drive to increase my virtual memory?

My computer has 8gb of physical memory. I'm running some memory intensive processes that quickly eat up that 8gb. When the physical memory runs out, it starts using the virtual memory and I see ...
0
votes
2answers
152 views

How to realocate space from the Swap partition to the ext4 'normal' partition in Ubuntu?

My Linux is running in a VM for which I allocated half of the physical amount of RAM (32 div 2) and 20 GB of disk space. I can see the structure of my disks. The 'linux swap' partition took 16GB. ...
0
votes
1answer
416 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?
1
vote
0answers
126 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, ...
-1
votes
3answers
77 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
1answer
24 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
233 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
127 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
408 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
30 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 ...
2
votes
0answers
296 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 ...
5
votes
1answer
803 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 ...