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

3
votes
1answer
494 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 ...
2
votes
1answer
980 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: ...
1
vote
1answer
67 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 Unknown+...
1
vote
1answer
147 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 ...
1
vote
1answer
63 views

GRUB recreate a partition before booting a certain OS

I am having a problem of managing the swap areas on my hard drive. Side story: Due to having only a few GiBs free on my C:\ partition, Windows regularly shrinks the pagefile (even though it ...
1
vote
1answer
2k views

Can't enable swapping in mac os x 10.8.3

some time ago a disabled swap. I need to enable it now and i was not managed to do it with help of sudo launchctl load -wF /System/Library/LaunchDaemons/com.apple.dynamic_pager.plist & reboot ...
1
vote
1answer
376 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
261 views

Linux swap position on hdd

As far as I know hard drives are faster at the beginning of the disk. If this is true, why does Ubuntu put the swap partition to the back of the disk by default?
0
votes
1answer
18 views

Linux swap slowing my system?

Can swap really slow the system because it uses the hard-disk as a RAM unit ? I have Fedora 24 (Gnome) here with 8 gigabytes of swap and 6 gigabytes of ram , but i am noticing a very bad conditional ...
0
votes
1answer
49 views

How to tweak Windows swapping priority (if there is some?)

Sometimes I open a program that allocates too much memory - i.e. computer has 0.5 gb free ram, and an application requests 1gb. In this case, it will start swapping so it can fulfill the request. ...
0
votes
1answer
30 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 ...
0
votes
1answer
110 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 ...
0
votes
1answer
91 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
232 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 /dev/...
0
votes
1answer
190 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 2....
0
votes
1answer
46 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
0answers
85 views

How to load entire process memory from swap quickly (linux)?

I run a bunch of CPU-hungry processes in parallel, they normally use a few GB of memory each. From time to time they allocate large amount of memory too (say 150-250GB). Usually at most one of the ...
2
votes
0answers
407 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, ...
2
votes
0answers
248 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 ...
2
votes
0answers
513 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
0answers
46 views

Linux Mint Swap partition

I've recently installed Linux Mint as a secondary OS to my laptop which already had Win 10 installed. I could only add one partition for Linux Mint and install Linux Mint without the swap partition ...
1
vote
0answers
28 views

How to control when and how much Ubuntu uses swap memory?

I am running Ubuntu 14.04 guest virtual box on Windows 7 host. Recently, following instructions here, I created a 7GB swap on my Ubuntu guest which has been running super-slow on 3.6GB RAM with no ...
1
vote
0answers
93 views

What kswapd is doing when there is no swap

The top look like this: KiB Mem : 3989652 total, 30976 free, 1480440 used, 2478236 buff/cache KiB Swap: 0 total, 0 free, 0 used. 2276236 avail Mem PID USER PR NI ...
1
vote
0answers
54 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 ...
1
vote
0answers
1k 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
1
vote
0answers
59 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.
1
vote
0answers
184 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
vote
0answers
76 views

Is my swap space being over used in OS X in /private/var/swap?

I'm using Disk Inventory X to look at whats taking up the most disk space on my HD. I understand that private/var/vm/ is where the OS stores items when it goes into hibernate. I have 8GB of ram, but ...
1
vote
0answers
329 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
0answers
464 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 ...
1
vote
0answers
262 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 ...
0
votes
0answers
12 views

Cannot Find ~/.profile, Only ~/.profile.swp (OSX)

I am in the process of installing Homebrew, but, when I go to edit ~/.profile, I am finding that only the binary file ~/.profile.swp exists. I have been reading about swap files and trying to better ...
0
votes
0answers
22 views

OOM kills and swappiness for IoT devices with eMMC and SD storage?

I experience an occasional Out-of-Memory (OOM) kill from the compiler on BeagleBoards, CubieTrucks, etc. They are IoT devices, powered by ARM, generally have 512 MB to 2 GB of RAM, and use 4 or 8 GB ...
0
votes
0answers
24 views

Why swap isn't in use ennough on my system

I have Debian GNU/Linux 8.4 (jessie). I have this output of free: olga@olgacomp:~$ free -h total used free shared buffers cached Mem: 2.0G 1.9G ...
0
votes
0answers
14 views

Swap mounts according to fstab, but with priority other than expected

My /etc/fstab looks like this: UUID=881b584c-9e25-41e6-b3f7-31753ba63188 swap swap defaults 0 0 UUID=d29ab744-5520-42fb-9b61-8eb582a66005 / ext4 ...
0
votes
0answers
36 views

How to check Paging Memory on swap for Windows, via command line?

On Windows operating systems, we use the Resource Monitor to check the memory paging for my server. I need to check it via command line so I can put in my standard script to check and create text ...
0
votes
0answers
10 views

Proc filesystem: Diskstats

Heey i was looking through /proc/diskstats And noticed something "odd" in my eyes. As you guys can see i have a lot of ram devices. Could someone explain why there are so many of them? According to ...
0
votes
0answers
58 views

Swapping to increase cache?

I am using a server with 128 GB RAM. While running some job I see frequent swap usage. The out put from top top - 05:14:51 up 16:52, 2 users, load average: 3.99, 5.16, 5.37 Tasks: 760 total, 1 ...
0
votes
0answers
146 views

Is it possible to create a swap file for a Linux guest VM managed by Vagrant?

In my Vagrantfile I have the following provider defined: Excerpt from Vagrantfile: config.vm.provider :virtualbox do |vb| vb.gui = false vb.customize ["modifyvm", :id, "--memory", "4096"] end ...
0
votes
0answers
20 views

Monitor Linux per-runtime swap statistics

I've recently upgraded a low-end notebook from HDD to SSD, and, since there's only 700MB of RAM and no option of upgrading, I need to use that SSD as a swap drive, too. Since SSDs have a limited ...
0
votes
0answers
33 views

how does a process know it's pages have been swapped out?

Let's assume I have several processes running, a1 and a2. a2 takes so much space that physical pages belonging to a1 start to get swapped out. a1's page table has to be modified to reflect this. how a ...
0
votes
0answers
33 views

How to clear swap used on CentOS?

top is showing very high swap used. Which is causing nagios to throw alerts. I've tried running swapoff -a && swapon -a sync; echo 3 > /proc/sys/vm/drop_caches but it doesn't clear the ...
0
votes
0answers
217 views

How make Fedora load every thing that was in RAM before hibernation into RAM again after wake up?

I use systemctl hibernate to hibernate my (Fedora 22) system. After reboot, It doesn't load everything into memory (Lot of memory stays on the swap) even though I have more then enough RAM for it. ...
0
votes
0answers
44 views

How to tell how much swap a Windows process actually uses?

In Windows 8.1 x64, I'm running a VBox machine that is configued to use 5200MB RAM. The host OS has 16GB of RAM, however often the other open programs add up and fill up the memory. My theory is that ...
0
votes
0answers
160 views

How to Logically Swap Fn and CTRL keys in Lenovo E40-80 i5 Laptop?

How to Logically Swap Fn and CTRL keys in Lenovo E40-80 i5 Laptop? As Physical swap is not possible due to key size difference. I have tried the possible methods like looking at BIOS, as suggested by ...
0
votes
0answers
44 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
0answers
168 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
28 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
157 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
0answers
82 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 ...