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
38 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 ...
1
vote
1answer
29 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
1answer
2k 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 ...
1
vote
1answer
214 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 http://...
1
vote
1answer
683 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 /...
1
vote
1answer
72 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 ...
1
vote
1answer
153 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 ...
1
vote
1answer
719 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 ...
1
vote
1answer
669 views

Page file on a separate partition in Windows

I have recently rebuilt my computer (Windows 7 Pro 32bit), and am in the process of paritioning my hard drive. My question is, is it beneficial to make a separate partition for the page file, rather ...
1
vote
1answer
215 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 I'...
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. ...
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
2answers
164 views

What is faster: Intel's Optane SSD or RAM?

Time ago here was a question about speed comparison between SSD and RAM. So, RAM was much faster. It's ok. But Intel announced huge speed update with Optane SSD's. So, and probably we should try to ...
1
vote
0answers
94 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
2answers
331 views

Move swapped data to memory on a Mac?

I want to move the swapped content to my RAM. I currently have 6800/16384MB RAM and 241/1024MB of swap used. In Linux one could execute this command to disable and enable the swap to force move the ...
1
vote
0answers
55 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
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
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
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
1k 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
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
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
2answers
179 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?
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
1answer
823 views

mount point for swap not needed

Why do we say that swap partition does not need a mount point? is it because swap is basically for virtual memory access and we don't need to view or access it so there is no need to mount it? or is ...
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?
1
vote
0answers
466 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 ...
1
vote
1answer
3k 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 ...
0
votes
3answers
224 views

What is better to use for big swap as an extension of RAM: SSD or 15k HDD (Cheetah)?

I need to hugely extend RAM in the platform I can't do it. As a temporary solution I want to use swap for it. What is better to use for swap storage - an SSD or 15k HDD like Cheetah? I understand that ...
0
votes
1answer
1k 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
4answers
6k views

Windows 7 Virtual Memory Optimization - ReadyBoost vs. Flash Swap vs. RAM Disk?

At first i thought ReadyBoost means having swap file allocated to flash drive which is wrong because ReadyBoost serves as additional storage for swap file or should i say it mirrors swap file on hard ...
0
votes
2answers
625 views

sizes of RAM, of virtual memory and of swap for 32-bit OS

If I understand correctly, a 32-bit OS (Ubuntu) can only address 4GiB memory, so RAM with size larger than 4Gib will only be used 4Gib of itself and the rest is a waste. I am now confused about this ...
0
votes
1answer
93 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 ...
0
votes
2answers
613 views

Debian server seems to use more and more swap

I've got a problem with my debian server. It has 4GB of ram and 1GB swap. Swap is around 95% full and ram still has 80% left. I'm running lighttpd (max 40 users at the same time) and some gameservers (...
0
votes
4answers
135 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
2answers
2k views

Resizing swap partition (RHEL 5.x)

The following is what parted print outputs: (parted) print Model: VMware Virtual disk (scsi) Disk /dev/sda: 26.8GB Sector size (logical/...
0
votes
1answer
73 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). ...
0
votes
1answer
4k 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.
0
votes
1answer
52 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 ...
0
votes
1answer
2k 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. ...
0
votes
2answers
563 views

I've two swap partitions, how can i delete one?

I've installed Ubuntu on my computer but I did a mistake during the installation and it created two swap's. In fact I had tree partitions (system, home, swap) but the installator crashed so I ...
0
votes
1answer
798 views

System thinks it is swapping, but isn't

I have a linux server (Ubuntu 10.04) which has no swap space (swapon -l reports nothing, 0kb swap memory listed in /proc/meminfo). The beginning of the output of top (sorted by %mem) is reproduced ...
0
votes
2answers
46 views

utilities of swapped partition

Can swapped space from hard disk be used to increase availability of RAM for playing games etc. on Windows XP?? Can anyone tell me how to do such a swap??
0
votes
1answer
1k 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?