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.

Filter by
Sorted by
Tagged with
1 vote
1 answer
1k views

What's the total amount of memory and swap a process is using?

http://windows.microsoft.com/en-us/windows/what-task-manager-memory-columns-mean#1TC=windows-7 If I'm reading correctly, there is no way to see how much swap is used by a process. Is this correct, ...
10 votes
1 answer
30k views

How do I know how much swap is used on Windows 7?

Apparently, as per Commit charge is 100% full but physical memory is just 60% when using no page file and http://brandonlive.com/2010/02/21/measuring-memory-usage-in-windows-7/, the Commit numbers in ...
4 votes
3 answers
1k 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 ...
0 votes
1 answer
227 views

Can a filled up swap partition cause file locking issues on linux

I have a machine at home running elementary OS 0.2 with very little RAM, the swap is always allmost full (I'll upgrade the RAM as soon as I can.) It has an OpenSSH server set up with public key ...
1 vote
0 answers
3k views

Is it possible to make a swap space(partition) in windows 8.1 like linux?

I'm using alot of ram on a daily basis and I know you have swap partitions in linux to help this, is it possible to do in windows 8.1 and if so, how? thanks
0 votes
1 answer
914 views

Windows 7 Swapping Threshold

When physical memory jumps to 80%, the RAM starts swapping itself to pagefile. How to increase this 80% threshold to say 90% ? I have 4GB of RAM which means the swapping starts when 3.2GB of RAM is ...
1 vote
0 answers
150 views

Is it a bad idea to make a swap partition on a SSD?

Since it has limited amount of read/write cycles, it seems to be a bad choice but I have no solid reasoning on why or why not to use it other than that.
0 votes
3 answers
3k views

Linux server is running out of memory and swap

I guess there is some memory leakage and memory is not being freed. Is there some good ways to find out which process and why is leaking memory? The only temporary solution is to restart server. But ...
0 votes
1 answer
434 views

Where's my RAM disk being stored?

I'm running an Ubuntu VM under Windows 7, within the VM I've allocated a 5GB RAM disk using sudo mount -t tmpfs -o size=5G tmpfs /mnt/gitRAM and then copied files into it. When I then look at conky ...
27 votes
1 answer
26k 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?
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?
12 votes
3 answers
2k 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, ...
3 votes
1 answer
9k 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 ...
7 votes
1 answer
3k 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 ...
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 ...
3 votes
1 answer
6k 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 ...
0 votes
0 answers
247 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
0 answers
63 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 ...
7 votes
1 answer
9k 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. ...
0 votes
2 answers
929 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 ...
6 votes
1 answer
1k 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
1 answer
192 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
3 answers
9k 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
1 answer
4k 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 ...
11 votes
2 answers
5k 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? ...
0 votes
2 answers
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 (logical/...
0 votes
2 answers
1k 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. ...
1 vote
0 answers
252 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, ...
-1 votes
3 answers
313 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 ...
2 votes
2 answers
1k 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
2 votes
2 answers
3k 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
1 answer
57 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 ...
3 votes
0 answers
3k 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 ...
0 votes
1 answer
3k 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 ...
1 vote
1 answer
3k 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: http:/...
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 ...
3 votes
1 answer
794 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
0 answers
238 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
2 answers
3k 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
1 answer
3k 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:
70 votes
5 answers
58k 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 ...
0 votes
1 answer
2k 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 ...
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
2 answers
2k 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. ...
3 votes
2 answers
4k views

Too Much Swapping, even though RAM is ~75% Empty

I have a VPS with 9GB RAM, 300GB HDD, 3 GB Swap, 7 Cores. The OS is CentOS 5.7 Final. I have postgres9.0 running on my machine, with proper tuning done (at least by book/wiki of PostgreSQL). What ...
3 votes
2 answers
2k 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 ...
2 votes
1 answer
213 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) ...
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
2 votes
1 answer
2k 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: ...
0 votes
1 answer
84 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
4
5
6 7 8