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
0answers
14 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
52 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
27 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 ...
10
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
76 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 ...
1
vote
1answer
42 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
2answers
301 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
72 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
20 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
66 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
27 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
345 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
307 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
0answers
19 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
59 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
94 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
337 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
80 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
288 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
82 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, ...
0
votes
0answers
21 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
3answers
67 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
18 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
113 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
106 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
151 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
28 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
205 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
373 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
230 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: ...
2
votes
1answer
80 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 ...
0
votes
0answers
89 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
572 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
45 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
888 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, ...
0
votes
1answer
341 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:
0
votes
1answer
108 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 ...
1
vote
1answer
81 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 ...
2
votes
2answers
377 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. ...
2
votes
2answers
146 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 ...
0
votes
1answer
44 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 ...
1
vote
1answer
645 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
62 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 ...
0
votes
1answer
202 views

Use swap only for hibernation

I have a swap partition /dev/sda1. It is 2GB in size and i only want to use it for hibernating. My system has 4GB of RAM. When I am low on RAM the kernel starts swapping and I can't even switch to a ...
1
vote
1answer
79 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) ...
1
vote
1answer
55 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 ...
0
votes
1answer
25 views

How to get data shown out of workspace or directly from application?

I'm a new user, because until this moment I used to handle with everything by myself. My problem is complex so I think I chose the right section. Because of some reason I had to use another web ...
1
vote
2answers
2k views

Sharing RAM resources between 2 or more computers

I know there was a somewhat similar question before: How to share CPU or RAM? But, let me just specify it a little more... When Microsoft Windows requires more RAM capacity than available it uses a ...
0
votes
1answer
632 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 ...