Questions tagged [swap]
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.
362
questions
15
votes
5
answers
23k
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
2
answers
2k
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 ...
3
votes
2
answers
9k
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 ...
9
votes
3
answers
17k
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
1
answer
523
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 ...
12
votes
1
answer
883
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
3
answers
4k
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 /System/...
1
vote
1
answer
278
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 ...
1
vote
1
answer
980
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 ...
11
votes
3
answers
15k
views
Tuning Windows 7 for use in a VM
I'm running Windows 7 in a VirtualBox Virtual Machine, and would like to make it run in a more streamlined fashion. I'll be using the install primarily for testing web apps, and have no need for it ...
21
votes
6
answers
14k
views
How do I quickly stop a process that is causing thrashing (due to excess memory allocation)?
We've all experienced it--some program is asked to do something that requires a huge amount of memory. It dutifully tries to allocate all this memory, and the system immediately begins thrashing, ...
0
votes
1
answer
877
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 ...
5
votes
1
answer
2k
views
Disadvantages of using a swap file/partition on an SSD, even when swappiness is set to 0 [closed]
What are the disadvantages of using a swap file/partition on an SSD, even when swappiness is set to 0
I'm particularly interested in the /proc/sys/vm/swappiness=0 case. How much writes are still done,...
19
votes
4
answers
27k
views
How to control RAM / swap usage
Is there a way (application) to control RAM / swap usage policy at application level.
I have some applications that I use all the time and I want them to stay in RAM all the time and there are also ...
3
votes
2
answers
1k
views
Page Faults without Swap-File?
I've found the obvious question and also it's bigger brother over at ServerFault.
But my question is quiet different: If Page Faults are the moments in which the OS needs to load something from the ...
8
votes
2
answers
10k
views
Reduce "Metafile" memory usage?
My work computer (Windows 7 64-bit) spends a lot of time swapping memory when I switch between programs. This surprises me since I have 4 GB of RAM, and the programs I use aren't particularly RAM ...
0
votes
3
answers
2k
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 ...
3
votes
4
answers
702
views
Filesystem of swap space
What is the name of the filesystem used for swap space?
0
votes
1
answer
960
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 ...
37
votes
4
answers
41k
views
What's using my swap (Ubuntu)?
I have an Ubuntu 8.04 server which is running a database and a bunch of Java application servers. Its memory configuration and usage is:
total used free shared buffers ...
76
votes
5
answers
28k
views
Where does VIM (gvim/macvim) keep swap files for unsaved/unnamed buffers?
Where does VIM (gvim/macvim) keep swap files for unsaved/unnamed buffers? (If it does so at all).
Background:
Throughout a semi intense seminar I was taking notes in an unnamed/unsaved MacVim buffer ...
0
votes
2
answers
68
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??
12
votes
4
answers
9k
views
Why do we need to set swap space as twice big as our physical memory?
When we want to setup a linux system, there is a common a suggestion to set the swap space twice as big as your physical memory. I want to know why do we need this, and how it is this suggestion come ...
6
votes
2
answers
14k
views
Linux disk access slows down system
My system slows down even when the CPU load is less than 100%, and I think it's doing this because it's writing to the swap partition. Yes, my swap partition is on a different disk than my OS. I ...
2
votes
1
answer
2k
views
linux swap disk priority
Let's say you have two swap disks, set up like this:
swap1: priority = -1
swap2: priority = -2
Is this going to be any different from the following setup?
swap1: priority = 47
swap2: priority = 10
16
votes
4
answers
25k
views
How permanently change Linux swap disk priority
I’m using two swap disks. Changing the order they are in in /etc/fstab and using pri in fstab doesn’t seem to have any effect.
This is what it looks like in the /etc/fstab:
#swap on other disk
UUID=...
22
votes
4
answers
38k
views
What file system is swap on Linux
In Linux you can choose things like ext3 and reiserfs for partitions. For the swap partition, you just choose "swap." What file system is this, actually? Can you just create an ext3 partition and make ...
2
votes
3
answers
2k
views
Ubuntu memory usage
I'm running Ubuntu 10.04 and I do some dev with it. As I open FF, Chrome, Eclipse (Zend Studio 7.2), etc. and do some work, then leave, screen saver goes on, and when I come back a few hours later (...
1
vote
2
answers
10k
views
Changing Linux swap partition
I want to change the swap partition to another partition. Is there a gui that can make this process easier so I don't have to do things like manually editing files?
0
votes
1
answer
3k
views
What is "Swap Space" and "Locked Memory" in Solaris?
I am aware of the generic concept of swap space (in Linux). Is the same applicable for Solaris (solaris zones) too? Or is the swap concept different in solaris?
Is there any connection between swap ...
2
votes
0
answers
884
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 ...
0
votes
1
answer
92
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
1
answer
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.
8
votes
5
answers
5k
views
Disadvantages of not having a swap partition
I recently installed Ubuntu 10.04 on my laptop. Due to space constraint of the SSD, I did not set a swap partition for the OS, and I have 1.5GB of RAM.
There's a warning during installation, but I ...
5
votes
2
answers
1k
views
Bringing pages for a particular process out of swap
I'd like to know if it's possible to bring pages from a particular process into main memory, or to set parameters for a given process, or class of process so that it will not be swapped out.
6
votes
1
answer
885
views
Is there a way to exclude a specific drive vdi from "snapshots" in VirtualBox?
...or is there another space-efficient way of dealing with the page/swap file of the Guest O/S?
I've realised that its quite possible/likely that one of the things which "bloats" the snapshot/diff ...
1
vote
1
answer
457
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'...
8
votes
1
answer
2k
views
How to tell Linux to explicitly swap out main memory of a suspended process?
I run a memory-hungry process (mkcromfs) which consumes more memory than I have physical memory on my latop, so it is paging and swappin and thrashing all the time and loadavg is about 2 (compcache is ...
1
vote
3
answers
4k
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.
...
2
votes
3
answers
119
views
Temporarily adding my user to another system
So i need to send in my mac laptop for repair and i have plenty of development work to do for the week that it will be gone for. I can borrow a laptop but obviously it wont have my data and dev stuff ...
10
votes
4
answers
11k
views
Why should the size of the swap partition be double of the RAM size?
Why is it recommended that the swap partition size be double that of the RAM size?
Specifically, why would I need to store data stored in the RAM twice??
3
votes
3
answers
762
views
Does having swap space on a solid state drive affect the drive's lifetime?
Let's say you have an 8GB solid-state hard drive, which has a limited number of writes by nature (I think). If you have swap space for your Ubuntu installation, will the lifetime of your solid state ...
10
votes
4
answers
10k
views
Windows 7 100% Memory Usage (without any process listed as using that much memory)
When I plug my external USB 2TB hard drive into my windows 7 box, my RAM usage climbs up to all 4 Gigs (but in task manager it shows that all process are small) and the hard drive is churning like ...
5
votes
3
answers
2k
views
How to interpret Windows XP's Virtual Memory Info - the 10 numbers and 1 graph
How are the numbers in the Windows XP Virtual Memory info to be interpreted? I am actually just interested in:
1) What is the total size that is free as in "untouched" physical RAM, so that the ...
4
votes
2
answers
4k
views
Any performance gain by putting Windows Pagefile.sys onto an Software RAID-0 Striped Volume?
I have a workstation class laptop running 64bit Windows-7 with 8GB-RAM (expandable to 16GB) and Dual SATA2 7200rpm disks.
I know my system will be making heavy use of the pagefile since I will be ...
29
votes
5
answers
17k
views
How much swap is a given Mac application using?
Is there any way to tell whether a particular application running on Mac OSX (10.2+) has some of its memory swapped out (i.e., to one of the /private/var/vm/swapfile* files)? And how much?
Bounty (...
7
votes
3
answers
5k
views
How can I use the keyboard to switch the mouse between left-handed and right-handed?
We have both left-handed and right-handed users in our house. It would be handy to be able to change this setting from the keyboard rather than using the Mouse control panel. Is there a way to ...
2
votes
2
answers
3k
views
Moving the OS X swap file to a faster drive
I have a new Mac Mini that's running the latest version of Snow Leopard. The internal drive is a bit of a slouch. I'd like to move the swap file (or whatever it's called is OS X) to my faster external ...
2
votes
2
answers
2k
views
How can I make Windows XP use more than 2.5GB of RAM?
At work, I have four system with Windows XP SP 3 with 4GB RAM installed. When I start a lot of apps, I see that Windows gets unstable when more than 2.5GB of RAM is in use with the usual effects: ...
1
vote
5
answers
4k
views
What is the meaning of pri=42
When mounting a swap partition on Linux, what does the mount option pri=42 mean?
fstab:
/dev/hda1 swap swap pri=42 0 0