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
2answers
762 views

Should I symlink my /private/var/vm dir to another volume in OS X Lion?

So I just installed an SSD in my MBP and have been a bit concerned about running out of disk space. I noticed that /private/var/vm holds an 8.6 gb sleepimage file as well as swap files. I'd be much ...
1
vote
2answers
2k views

Moving Swapfile in Mac OS X Lion

I had previously consulted this thread when using snow leopard to move all swap to an SSD: Moving the swapfiles to a dedicated partition in Snow Leopard The information appears to be out of date at ...
3
votes
1answer
474 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
651 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
58 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
68 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
50 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
911 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
277 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
232 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
49 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?
0
votes
1answer
186 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
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
1answer
103 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 ...
0
votes
1answer
726 views

How to see whats eating my swap space on linux

I have a unique situation here where a Java app I wrote is choking when it forks and creates some child processes. According to the error logs I'm seeing there is a java.lang.UNIXProcess method ...
0
votes
1answer
343 views

How can I restore a partition to its former NTFS file system?

While installing Ubuntu 11.04 I was asked to choose a swap area for better performances, so I chose my 1T hard drive(which had only one partition). The problem is that I did not know it will use the ...
0
votes
1answer
404 views

Installing Windows 7 onto a Raid 5 setup without an install disk. Can it be done?

I am upgrading my motherboard from a crappy dell prefab to a Foxconn Inferno Katana. I am also upgrading my ram from crappy stock dell ram to G.Skill. I have decided to set up a raid system, now ...
0
votes
1answer
186 views

Is it possible to swap two styles in Microsoft Word or modify the document map?

I've been writing a document in Microsoft Word and have been using the default Title style as my main heading for each section and Heading 1 for my sub-sections. However Word uses Heading 1 as the ...
0
votes
1answer
622 views

Made the USB Drive as Swap Partition, Installed it, How to undo it{Ubuntu 10.10}

Well,it was a very stupid thing to do on my part, But I made a 500 GB USB connected Hard Disk as my swap partition (thinking it will be only used during installation) and installed Ubuntu10.10. I ...
-1
votes
1answer
497 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
votes
1answer
112 views

RamFS over sshFS as swapspace

Guys I have to computers at office, boxA - 256mb RD-ram with decent cpu boxB - 1.5 gigs of ram with terrible cpu Network cards are 10/100 I plan to sshfs into boxB and mount a ramfs of boxB as ...
1
vote
0answers
70 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
53 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
55 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
0answers
318 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
2k views

How change linux swap disk priority permanently

I'm using two swap disks. Changing the order they are in in /etc/fstab and using "pri" in fstab doesn't have any effect. This is what it looks like /etc/fstab #swap on other disk ...
1
vote
0answers
343 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
230 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
28 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
18 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 ...
0
votes
0answers
93 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
0answers
66 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
36 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
0answers
93 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. ...
0
votes
0answers
210 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? ...
0
votes
0answers
162 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
0answers
74 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 ...