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
26 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
34 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 ...
0
votes
0answers
22 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
votes
0answers
11 views

Amazon EC2 Swap Creation

I've created Amazon EC2 Instance. I've added 1024MB swap space, using the following commands: sudo /bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=1024 sudo /sbin/mkswap /var/swap.1 sudo ...
1
vote
2answers
51 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
42 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. ...
2
votes
2answers
61 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
34 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
134 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 ...
0
votes
0answers
98 views

What happens when zRam is overcommitted?

I can put whatever number I want when I set the size of a zRam block device. echo $A_BAJILLION_BYTES > /sys/block/zram0/disksize mkswap /dev/zram0 swapon -p 9001 /dev/zram0 How much is too much? ...
1
vote
0answers
39 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
105 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
57 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
43 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 ...
0
votes
0answers
84 views

How to verify TRIM/discard on encrypted swap?

I am using an encrypted swap partition via ecryptfs-setup-swap on my Ubuntu 13.04 computer using a SSD. I have manually set up trim for my ext4 root partition (simply by adding the "discard" option ...
0
votes
2answers
306 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
133 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
104 views

Grub rescue after windows install

Disaster, Please, Help ASAP. I had a dual boot on my pc with windows xp and lubuntu linux. Then recently i had some windows errors and decided to install windows 8 instead of xp. So after i ...
8
votes
1answer
283 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 ...
4
votes
2answers
87 views

How to load entire program from pagefile quickly?

Sometimes I do not use some programs with high memory usage (e.g. virtual machine with 2 GB of memory) for several days. When I return to it, its memory is mostly swapped onto HDD. When I try to work ...
3
votes
1answer
617 views

Modify Windows “Swappiness”

Is there a modifiable equivalent of "swappiness" in Windows 7? My system has 8GB of RAM which is more than enough for my day-to-day use. I'd like to modify swap behaviour, what *NIX systems call ...
0
votes
5answers
2k views

Linux: don't create swap partition?

I was wondering since I heard that swap is used when you're out or RAM and and swapping too much is bad, since I have a lot of RAM ( 8GB ).... what if I dont create a swap partition? Also, do I need ...
0
votes
2answers
119 views

Swap is empty on Linux

How can I create or resize the swap memory on a linux device (Amazon Linux AMI). The problem came when I run a program and it gave me that errors: IOError: [Errno 28] No space left on device INFO ...
1
vote
5answers
739 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 the comment in this question, you should put your swap partition near the beginning of the ...
0
votes
1answer
84 views

Swap size LIMITED to RAM size

I've created a swap file of 4.3GB. Made it a swap file with mkswap and then mounted it at boot. Now... if I have done a free -m of my system I got: total used free ...
2
votes
1answer
410 views

Why does swapon take ages when enabeling a swap file?

I've created a swap file with dd if=/dev/zero of=swap.img bs=1024k count=4k mkswap swap.img swapon swap.img While this works, the swapon command takes ages (approx 10min) to finish. Enabling the ...
1
vote
2answers
609 views

How to activate swap on Linux? “swapon -a” doesn't seem to work?

My computer has quite some memory (6GB) which is enough for most of what I do. A while back I was messing with my swap, turning it on and off with sudo swapon -a and sudo swapoff -a. In then end I ...
1
vote
1answer
94 views

Swap and Root: same partition

I have 3 partitions, and I can't delete any of them. (Recovery, SYSTEM, C:), and I need to install GNU/Linux. How can I have swap and root on the same partition?
4
votes
1answer
481 views

How can I encrypt the swap file under Windows 7?

Mac OS X has the ability to use "secure virtual memory", meaning that anything from RAM that is swapped out to disk is encrypted. This improves security by making sure no passwords / keys are ever ...
1
vote
4answers
186 views

Why is my system swapping if there is free RAM available?

I have a KVM host running several virtual machines. The hardware is comprised of 24 cores w/ 40G of ram. This is the output of the free command: total used free ...
1
vote
1answer
549 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
241 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 ...
12
votes
2answers
187 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 ...
5
votes
2answers
1k views

Does the 4 GB RAM limit on 32-bit systems also affect the swap space?

It is well known that 32-bit systems can only handle 4 GB as maximum amount of RAM. Under Linux, does this limit also apply to swap partitions? If my RAM + swap exceeds 4 GB, will it be fully used? ...
2
votes
1answer
93 views

Linux swap robustness and/or mirroring - kernel 3.2

i have 8x 2TB disks in raid6 with mdadm and I decided to add a little "slack" partition to each drive just in case a replacement drive is not exactly the same size of the drives i now use. The purpose ...
1
vote
1answer
879 views

Windows 8 pagefile on usb FLASH

Not duplicate :) Windows 8 hides usb flash drives in the list of virtual memory drive list. The picture taken when I installed 2 usb flash drives but they are not in the list. Any body knows the ...
9
votes
3answers
211 views

Swapfile on different drive

Is it worth to spend money on a small capacity HDD (~5-20 GB, very cheap though) to use it as swapping area for the OS? I do believe it will increase the OS performance , or maybe SSD (still ~5-20 ...
0
votes
2answers
318 views

Is it possible to mount a swap partition into a directory?

I want to have a look inside the swap partition of an external linux drive. How can I mount it as a regular file system directory? I tried mounting it via mount -o loop,offset=35556433920 -t ...
4
votes
1answer
141 views

What happens when you try to hibernate but there is not enough swap available?

I have a Linux box with a swap partition of size RAM + x. Suppose more than x of the swap is already in use. Now I try to hibernate. Will the kernel randomly kill sleeping and/or not sleeping ...
2
votes
1answer
189 views

Should I use the openSUSE installer to encrypt /swap until ecryptfs is updated to work with systemd?

I recently installed openSUSE 12.3. I didn't use any partition encryption in the installer. Immediately after the install was complete, I installed ecryptfs-utils and ran ecryptfs-migrate-user -u ...
1
vote
1answer
109 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 ...
3
votes
1answer
137 views

Where is terminal scroll back information stored (how does tmpfs work)?

While trying to test something unconnected, I launched an infinite loop on my terminator terminal emulator which printed a lot of data to STDOUT. After running it for a few minutes, I noticed that my ...
18
votes
2answers
1k views

Linux Mint doesn't boot after creating a swap partition

When I was creating my Linux hard drive, I skipped creating a swap partition, thinking that 4GB would be enough RAM. Now, I think I do need a swap partition. I asked some people on IRC how to do this, ...
1
vote
3answers
2k 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 ...
5
votes
4answers
2k 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?
0
votes
3answers
750 views

How can I find out the size of a swap partition?

What are the sizes of the following swap partitions? root@pc:~# swapon -s -v Filename Type Size Used Priority /dev/sda5 ...
-1
votes
1answer
432 views

set up permanent ramdisk in ubuntu to not using ram when is the ramdisk empty

My laptop running Ubuntu 12.04 has 8GB RAM. I added following record to /etc/fstab tmpfs /media/ramdisk tmpfs defaults,noatime,mode=1777 0 0 What exactly does it mean? I have tested that I can ...
1
vote
2answers
153 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?
0
votes
4answers
115 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? ...