Tagged Questions

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
4k views

Using SSD as Linux RAM

I have a very very fast SSD OCZ Revo. I want to use a lot of RAM but I'm limited to 4GB RAM for the moment. If I use my SSD OCZ Revo as swap (the whole of it, 160GB), does that mean I have effectively ...
2
votes
4answers
716 views

Force swapping of certain stopped processes

When I'm playing minecraft, my computer often has to swap because Google Chrome takes much RAM, too. So, I'd like to manually swap out Google Chrome. I know that I can temporarily stop all its ...
0
votes
2answers
365 views

Swap implication in Linux and way to increase it

I used top command to print this on Linux box: [root@localhost ~]# top top - 23:38:38 up 361 days, 12:16, 2 users, load average: 0.09, 0.06, 0.01 Tasks: 129 total, 2 running, 126 sleeping, 1 ...
1
vote
1answer
2k 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 ...
4
votes
2answers
2k views

Low RAM in Debian/Ubuntu causes complete hang with disk thrashing

I've been having this severe performance issue, both in Ubuntu 11.10, and Debian Wheezy: If one process uses up a great deal of RAM (say, 3700 MB out of 3900 MB), the system quickly becomes unusable, ...
1
vote
0answers
319 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
159 views

What does the messsage "Adding *k swap on …' mean?

I have the following message in the syslog on some machines: Adding 8385920k swap on /dev/sda3. Priority:-112957 extents:1 across:8385920k What does it mean? Is it a problem? And why is this ...
2
votes
3answers
111 views

Need more swap space - out of disk slots

A server I am using was setup incorrectly with only 1G of swap space. There are no more hard disk physical slots. There is content on the existing disks. I would like to resize the partition, but ...
1
vote
1answer
454 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 ...
3
votes
1answer
479 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 ...
4
votes
3answers
4k views

Reserve RAM for cache and buffer

I usually run many programs and virtual machines on my desktop. The CPU isn't the bottleneck but the memory. (Buying more memory isn't a solution because it's not my own computer.) I started ...
5
votes
1answer
156 views

Prevent important OS X process being swapped out, without code change?

I want hotkey-based utilities like Quicksilver or Zooom to respond immediately. But if they have been idle for a while, they (I guess) get swapped out, and respond slowly, sometimes not even ...
2
votes
2answers
402 views

How to make a good guess for the swap partition size when using tmpfs?

I have an SSD, so space is a scarce resource. I'd like to use up as little as possible for swap. In fact, I have spent the last year completely without a swap partition (the computer has 6 GB RAM). ...
1
vote
1answer
270 views

What type of data is stored in the swap partition?

When a page fault occurs, the system must fetch the page from disk. Does this mean that there is a page table stored on the hard drive for every running process (to fetch the page from)? If yes, ...
1
vote
1answer
463 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 ...
0
votes
3answers
201 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
2answers
455 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
2answers
520 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 ...
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 ...
2
votes
1answer
2k views

How can I get Linux to not thrash and just kill processes?

Firefox (and flash) tends to chew up memory at random times, causing my computer to thrash, and it drives me crazy waiting for the oom_killer to kick in and kill processes,[1] while I can't do ...
1
vote
1answer
62 views

Additional swap created on a new partition gets removed on reboot

I have created a new swap volume using logical volume management tool on RHEL. Suppose the volume is /dev/rootvg/swap2 I did mkswamp /dev/rootvg/swap2 and then swapon /dev/rootvg/swap2 when listing ...
0
votes
1answer
831 views

How to remove swap partitions from RAID 1 Array on Ubuntu?

Can anyone point in the right direction on how to remove SWAP out of a RAID1 configuration on Ubuntu 10.04 server? According to the Ubuntu Advanced installation guide, here, it said to add swap to the ...
8
votes
1answer
461 views

Can two Linux partitions use the same swap space?

I have Ubuntu 10.04 and Windows 7 installed on my machine, due to some reasons I need to install one more copy of Ubuntu.. Is it possible that the new Ubuntu uses the same swap space used by previous ...
0
votes
1answer
364 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 ...
1
vote
1answer
759 views

Linux Virtual Memory/Swap isn't being used

I think my virtual memory is not configured correctly on my MintLinux machine. I opened up a new IDE, IntelliJ IDEA, and my whole system appeared to freeze. I tried to TTL to the console but that did ...
3
votes
2answers
783 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
1answer
1k views

What is the difference between swap entries in fstab?

I've been looking around and seen two different things ways to declare swap in fstab. I've seen something like the line below: UUID=UUID-HERE none swap sw 0 0 and UUID=UUID-HERE none swap swap 0 ...
1
vote
1answer
233 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
3answers
631 views

Will increasing swap partition size increase the memory that can be used by a program?

I have a program that requires a lot of memory. So much that the malloc fails as the system goes out of memory. I don't care if the overhead for swapping pages in and out of the disk is too high - I ...
0
votes
1answer
425 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 ...
5
votes
1answer
89 views

Do locked pages get shredded from disk after resuming from suspend-to-disk?

Locked pages are sometimes used to store crypto keys like for Luks or for encfs and other sensitive things. But when doing hibernate (without swap drive encryption) they get stored to disk ...
0
votes
2answers
4k 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 ...
1
vote
4answers
273 views

SSDNow100VS2 Page File (Windows 7) [duplicate]

Possible Duplicates: How to control RAM / swap usage Should I keep my swap file on an SSD drive? I just put an SSDNow100VS2 into my laptop, with Windows 7 Ultimate 64, and 4GB of ram. I'm ...
1
vote
3answers
695 views

Memory and SWAP in Ubuntu

When I go to the system monitor in Ubuntu, about 75% of the Memory is used and 45% of Swap is used. Why is the Swap used even when Memory is available? Doesn't Linux move data from Swap to Memory?
45
votes
5answers
28k views

How to disable Mac OS X from using swap when there still is “Inactive” memory?

A common phenomena in my day to day usage (and several other's according to various posts throughout the internet) of OS X, the system seems to become slow whenever there is no more "Free" memory ...
-3
votes
3answers
4k views

Windows 7 - swap file on a USB disk? [duplicate]

Possible Duplicate: How to move the page file to another physical disk location Windows 7 I was given temporarily a PC, running Windows 7 Ultimate. The problem is it's hard drive is full, ...
7
votes
3answers
10k views

How can I find out processes are using swap space?

I have a linux server top reports about 9GB of swap used: But I cannot figure where's it use swap, some google results said that top - O commad follow by p will show swap usage by process. But as ...
4
votes
2answers
1k views

how to configure Linux to call oom_kill on its own

I do not want my computer to swap data to disk. I have no swap partition: $ free total used free shared buffers cached Mem: 3841912 3670012 171900 ...
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 ...
12
votes
1answer
6k views

Swap Control and Caps Lock on Windows 7

How can I swap my Control and Caps Lock keys on Windows 7? I've found several options online but all are for previous versions of Windows.
16
votes
3answers
27k views

How can I make my computer use more RAM?

I'm running Windows 7 64-bit with 8GB of RAM. The problem is, I very rarely use all of it. I do some video editing from time to time and it definitely comes in handy then, but for everyday use, I'm ...
2
votes
1answer
284 views

Protected with Linux Per-Directory Encryption (no swap)?

I have been using full-disk encryption for some time on Linux with good success, but the additional layer of complexity that it adds is something I'd like to avoid, e.g. backup/system restore ...
12
votes
4answers
15k views

What's wrong with disabling the Windows page file?

People say that you always need a page file, and that it will increase performance, but my Windows 7 is set to run without a page file. I simply don't understand why people say this - I have 6 GiB of ...
1
vote
2answers
727 views

How to create Swap in Fedora?

I am new about swap and filesystem. Now I encounter a problem: 2G ext4 disk /dev/sda7 # Want to be used as swap in fedora 24G ext4 disk /dev/sda8 # My fedora is built on it without Swap As ...
1
vote
2answers
3k views

Why won't Ubuntu use swap?

I'm running 32-bit Ubuntu 10.04 on a 4-core AMD Phenom machine with 4GB of RAM. With normal use (a dozen or so Chrome tabs, 1 VirtualBox machine, 2 or 3 instances of QtCreator, ) the memory will ...
5
votes
2answers
7k views

Clean up swap memory

I am using ubuntu 10.10. My RAM is 3GB and swap memory is 2GB. After using my system for several hours, all of my swap memory is used up. Is there any way so I can clean up swap memory?
0
votes
1answer
189 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 ...
11
votes
1answer
697 views

Using a SSD as my only drive on a laptop

My conventional hard drive is clicking (second time this year I've killed the drive), so I just bought a SSD to benefit from the lack of moving parts. However, I am deathly afraid of using this as the ...
1
vote
3answers
3k views

How to stop swap process in OS X?

How would I prevent OS X even looking for a swap file? I killed the swap file on my MBP. This is dead easy: just change the default swap file location so the system can't find it (goto ...
0
votes
1answer
101 views

Is that true that Windows can eventually address executable files as if they were parts of virtual memory?

I've once read somewhere that Windows can treat programs' executables and DLL files as parts of swap file rather than duplicating their content into pagefile.sys when swapping them out of physical ...