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
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, ...
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 ...
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:/...
1
vote
1
answer
242
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
1
answer
871
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?
1
vote
1
answer
366
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 used] ...
1
vote
2
answers
8k
views
How much swap space needed for 4GB RAM [duplicate]
Possible Duplicate:
Swap partition size for 4GB RAM
For 4GB RAM how much swap space needed ?
If I made 8GB as swap space, weather my system become slow ? If so then what is the reason for that?
...
1
vote
1
answer
711
views
Replace 60GB solid state drive with a higher capacity one [duplicate]
Possible Duplicate:
Move smaller hard drive to partition on a larger hard drive
restore a smaller hard drive 320GB image to a larger harddrive 1TB
I have a 60 GB solid state hard drive on my ...
1
vote
1
answer
92
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 ...
1
vote
1
answer
2k
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 ...
1
vote
4
answers
324
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 a ...
1
vote
3
answers
920
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?
1
vote
1
answer
1k
views
Drive /dev/sda with a swap file in WSL2
As NotTheDr01ds mentioned in this answer, /dev/sda in WSL2 is a virtual drive which Windows creates to store a swap file shared between WSL instances. But it isn't mounted by default when instance ...
1
vote
1
answer
208
views
What size swap partition will allow a Mint 19.3 installation with 64G RAM to hibernate?
This same basic question is asked at How can I enable hibernation under Linux Mint 18.3?, but the question as asked only tells how much space is desirable for a 4Gi installation, and conflicting ...
1
vote
2
answers
420
views
Extend linux root drive in Dual Boot OS
Any idea how to add the 31GB unallocated space to /dev/sda7? I disabled linux swap(swapoff) but still can't add the space or move it in the extended partition.
I am running gparted from live usb. The ...
1
vote
4
answers
4k
views
Can I swap hard drive between two identical PCs and keep all installed programs and OS intact?
I have two Dell Precision T7600 desktop computers. I have all my programs installed on PC1 using Windows 10 OS. If I swap the hard drive, will all the installed programs, OS (Windows 10 and Ubuntu) as ...
1
vote
1
answer
1k
views
Linux swapping too much
My Linux (Mint 17.2) computer has 4 GB of RAM and 8 GB of swap partition. I have swappiness set to 10 instead of default 60 and it works perfectly, sadly only for some time from start up.
When I ...
1
vote
1
answer
208
views
Swap operations and boot are much slower in Windows than in Mac OS
I have a MacBook Pro 15" Late 2011, where I have installed Windows 7 and Mac OS Lion in dual boot.
I have disabled Windows Pagefile because I have installed 16 GB RAM.
I cannot figure out why ...
1
vote
1
answer
242
views
Empty swapfile after using dd
According to many tutorials available on the internet (like for example this one https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-ubuntu-14-04 ), to generate a swapfile, i need to ...
1
vote
1
answer
62
views
Bind Solaris 10 swap file
I have created an Oracle swap file to enhance my swap space. I have to do this for a Oracle Client installation.
After creating swap file I Run the swap command to specify the additional swap space ...
1
vote
1
answer
179
views
Mount physical disk with swap included
I'm using VirtualBox and a virtual hard disk, formatted as a swap partition, for booting a virtual machine with a USB key. The guest machine is Ubuntu 10.04. I realized that there's no swap partition ...
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'...
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.
...
1
vote
1
answer
113
views
What happens if I execute swapoff && swapon when RAM + swap exceeds RAM capacity
What happens if I execute the command
sudo swapoff -a && swapon -a
having RAM full 25GB/32GB and swap full 20GB/32GB? 25+20 = 45 > 32 so there's no way RAM can fit all operating data. On ...
1
vote
2
answers
110
views
Differences swap to file and (usual) swap for VMware guest
I would like to ask about the main differences of "swap no hibernate" and "swap to file" in case of a virtual machine.
By default I choose swap without hibernate because that's ...
1
vote
0
answers
97
views
Can't do an in-place Update of an Azure cloud service (extended support) after a VIP swap - Public IP is in use (error)
I have successfully performed a VIP swap on a pair of Azure cloud services (extended support) that had Reserved IP addresses (static, although I don't think it matters).
Now I can Update (by uploading ...
1
vote
0
answers
259
views
How to delete a debian luks swap partition properly?
There is the post Removing the swap partition from a LUKS encrypted SSDD but it's tagged as linux mint.
Because of the fact that update-initramfs (a debian tool) reports an error my problem is related ...
1
vote
0
answers
67
views
enable zswap selectively per-device?
Is it possible to enable zswap for some swap devices but not for others? I don't see any tunables, and quick checks show that even zram swaps end up using zswap (leading to double compression). Once /...
1
vote
0
answers
39
views
What happened about the swap used?
Q:Why is the used value of swap so large? Is there a error/bug/problem with the kernel?
env: CentOS release 6.7 (Final)
[root@dc-hadoop203 ~]# free -g
total used free ...
1
vote
0
answers
383
views
Give space to a tiny computer (tmpfs with swap over nfs)
I have a tiny computer with not so much RAM (1-2GiB) and very little disk space in which I installed Gentoo. I also have space on a shared NFS.
In order to be able to compile any package, even the ...
1
vote
1
answer
487
views
Ubuntu 18.04.03 cannot hibernate
I am using a swap partition of 10.5GB (almost) while RAM of my system is 8GB. My
/etc/fstab
file looks like this
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the ...
1
vote
1
answer
210
views
Want get rid of "fedora/swap"
I had changed my swap partition, and all is works. But when reboot, Fedora 29 jammed for a long time, and enter emergency mode. It seems wait for "/dev/fedora/swap", but here only "/dev/fedora00/swap" ...
1
vote
0
answers
857
views
Chrome doesn't use swap
I have written a single page application that gradually loads objects, and memory usage increases.
At a certain point, Google Chrome shows an error page, and from the log I see
[1:1:1210/224428....
1
vote
1
answer
2k
views
Change default swap disk in Centos7
We disabled older swap space (disk) that already mounted in /dev/mapper/centos-swap to increase size of the root(/).
Then we create new swap file in /dev/sda3:
# lsblk
NAME MAJ:MIN RM ...
1
vote
0
answers
803
views
Linux Kernel configuring swapping parameters.
Linux may perform a swap out on the following occasions:
By a kernel thread denoted as kswapd that is activated periodically whenever the number of free page frames falls below a
predefined ...
1
vote
3
answers
441
views
Is it possible to change the GPU in HP G42-388TX?
I was just wondering if I could swap my GPU (AMD Radeon Mobility HD 5000 Series) with a better one. But I don't know whether the GPU is soldered on or not or is it possible to swap? I don't want to ...
1
vote
1
answer
1k
views
notepad++ How to swap two if and then statements
So i have some code to reform (1000 lines) and i want to go from this
if $one=0 and $two=32 then $dist=1
if $one=0 and $two=15 then $dist=2
if $one=0 and $two=19 then $dist=3
to this
if $one=0 and $...
1
vote
0
answers
1k
views
Why doesn't my Linux machine use swap?
I have a java application in a Tomcat application server that uses extreme amounts of memory - let's say 45GB.
I have 32GB RAM + 32GB of Swap on my Ubuntu 16.04 64bit PC. I'm starting the application ...
1
vote
0
answers
530
views
Linux Mint Swap partition
I've recently installed Linux Mint as a secondary OS to my laptop which already had Win 10 installed.
I could only add one partition for Linux Mint and install Linux Mint without the swap partition ...
1
vote
0
answers
306
views
How to control when and how much Ubuntu uses swap memory?
I am running Ubuntu 14.04 guest virtual box on Windows 7 host. Recently, following instructions here, I created a 7GB swap on my Ubuntu guest which has been running super-slow on 3.6GB RAM with no ...
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
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.
1
vote
2
answers
2k
views
linux not using swap, but OOM killer is triggered
I've been having this problem for a long time now, and I can't seem to figure it out, basically, my linux (32bit 3.2.6-3.fc16.i686.PAE) system is refusing to use the swap. When I run
$ tail /dev/...
1
vote
1
answer
179
views
vim leaves a swapfile after crash with unknown owner
I am running Cygwin on windows. Several times now I've had a swap file left behind from vim after a crash, but it can't be recovered or deleted. "ls -l" shows this:
-rw-r----- 1 Unknown+User Unknown+...
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
vote
0
answers
98
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
1
answer
84
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 is ...
1
vote
1
answer
451
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
2
answers
222
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?
1
vote
0
answers
352
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 ...