Unix systems, and other Unix-like operating systems, use the term "swap" to describe both the act of moving memory pages between RAM and disk, and the region of a disk the pages are stored on. In some of those systems, it is common to use a separate whole partition of a hard disk for swapping. These ...

learn more… | top users | synonyms

0
votes
0answers
16 views

RAM used by processes does not add up to the total RAM using top command

The total RAM used is about 5GB but I am not running just a few processes as shown in the the picture. I try to find which process is eating most of the RAM, but the result is from top command is not ...
5
votes
1answer
58 views

Who eats all my file descriptors and thus memory?

my current system: 14.04.4 LTS (GNU/Linux 3.13.0-85-generic x86_64) $ free total used free shared buffers cached Mem: 16366288 16090588 275700 ...
0
votes
0answers
13 views

The disk drive for XY is not ready yet or not present

At first I'd like to clarify, how I got to this messages. I wanted to create a system disk image (120GB SSD) to disk for data / backups (750GB HDD), so I created live USB, booted and run a command for ...
1
vote
1answer
20 views

How to undo “mkswap”

I had a problem with mysql and I needed to make a swap partition to fix it. I ran this code # dd if=/dev/zero of=/swap.dat bs=1024 count=512M # mkswap /swap.dat # swapon /swap.dat ## Edit the /etc/...
0
votes
0answers
33 views

How to decrease the swap memory in Ubuntu 14.04

While dual booting Ubuntu 12.04 on my 32 bit laptop along with Windows 7, I had little knowledge about partitioning memory, and so I ended up setting 100 GB as the swap memory. After a while I ...
0
votes
0answers
77 views

Hibernate does not work on Ubuntu 16.04?

I followed some threads here and was able to enable the hibernate button on the top right menu. But when I hibernate, my laptop screen goes off but the laptop is still running. I know that because the ...
0
votes
0answers
15 views

Hibernation stopped working after changing the swap partition

I usually always do sudo pm-hibernate to save my development session. Now I recently switched to ubuntu and since then I always run into some hibernation trouble. Sometimes the system would crash ...
0
votes
1answer
57 views

Partitioning for Ubuntu — question about partitions

So the question title wasn't very specific, but I couldn't really think of what to call this. My computer came with Windows 10, and I'm trying to run Ubuntu alongside it because of some of its ...
0
votes
1answer
49 views

Ubuntu 16.04 System crash when out of RAM

After upgrading to Ubuntu 16.04 from 15.10. I experienced crashes (system not responding, requiring a power off) every time I was running out of physical memory (using up all the RAM).
0
votes
0answers
32 views

Increasing available RAM temporarily on Raspberry Pi 2

I recently tried to compile Github's Atom on my Raspberry Pi 2, but after getting past the first error and trying again, it aborted in the middle of the build. Looking in the log showed that it ...
0
votes
0answers
17 views

Does 50 % memory and 40 % swap usage (equal size) with vm.swappiness of 90 indicate a kernel bug? [duplicate]

I have 8 GB RAM and a 8 GB swap partition and I set vm.swappiness to 90 in /etc/sysctl.conf (and verified that it's used with the sysctl command at runtime). The system uses 50 % of RAM and 40 % of ...
1
vote
1answer
51 views

Swap on SSD - will it decrease life sizeably? [duplicate]

I have a samsung 850 evo 120GB ssd. I have installed ubuntu on it , with a 119GB / and 1 GiB Swap(on the ssd) . Is the swap a good idea? Should I remove the swap ? Problem is , I have only 1 GB ram. ...
0
votes
1answer
57 views

Swap on SSD or HDD and how much?

Before I start I am a Linux noob. I will be running Windows 7 and Ubuntu on my 120Gb Kingston SSD. (Just the system files for windows and Ubuntu). Because of the space limitations I do not want to ...
0
votes
1answer
35 views

Sudo Bleachbit Output Errors

When I run bleachbit as root, I get what looks like swap file errors. I've never seen these before and am wondering if there is a simple way to fix it?? here's the output: debug: DeepScan.scan: ...
3
votes
2answers
201 views

Swap partition is not being used completely [closed]

I have bulky Fortran source code (WRF) to be compiled. Every time I compile the code, the system gets stuck. To diagnose the problem, I saw memory performance in the system monitor of Ubuntu, and ...
0
votes
0answers
31 views

how to set swap space of double the ram during installation?

I am having serious problems with my administrator password which I am still dealing with with not much help from here, anyway, after I am done with this I plan to reinstall 14.04 LTS (since the ...
1
vote
0answers
37 views

How to Install Ubuntu Server without swap?

I have a 256GB solid state drive on which I plan on installing Xen and a few VMs. For the host (dom0), I want to use Ubuntu Server 16.04 and have it take up as little space as reasonably possible. ...
0
votes
0answers
20 views

Ubuntu 14.04 Clear Swap when RAM is full

I am running a python program that, for some reason, goes crazy once in a while. I am then forced to kill the program but the RAM and Swap used by the program is not released. This causes the hanging ...
0
votes
0answers
16 views

Swap priority gets set to -1 on each boot

I have a swap partition of size 7.9 GB. When I use the command free, it shows this: NAME TYPE SIZE USED PRIO /dev/sda7 partition 7.9G 0B -1 The swap partition is not being used and ...
0
votes
1answer
18 views

Server is swapping regardless of available memory

Here is some vmstat output x@x-server:~$ vmstat 1 procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu----- r b swpd free buff cache si so bi bo in cs us ...
0
votes
0answers
41 views

Swap partition is not mounted by default at boot in ubuntu 16.04 after resizing partitions

I resized my ubuntu partition using gparted from a live cd. I first turned off swap, then deleted it. Then I resized the partition and created a new swap and turned swap on and rebooted. After that, ...
0
votes
0answers
34 views

ubuntu system partition is running out of space and the swap partition is 16GB

This is the output of lsblk on my server: NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 64G 0 disk ├─sda1 8:1 0 ...
0
votes
1answer
35 views

Stop Ubuntu from using original swap partition

When I installed Ubuntu 16.04 I put it on a 250 GB SSD and created a 4 GB swap partition. Recently I have been doing some machine learning and I keep using up all of my 16 GB of memory. I decided to ...
0
votes
1answer
30 views

Not properly using Physical memory

How do I get ubuntu to make use of the swap file. It doesn't even use the full physical memory, it only uses 1.3 Gb of 8 Gb, and it doesn't make use of the swap file at all, even when it has detected ...
0
votes
0answers
13 views

Is it beneficial in any way to have two swap partitions on the same extended partition with the same priority?

I read somewhere that I can speed up the swap process if I make more than one swap partition with the same priority on different drives. I was wondering if splitting the swap partition I have on my ...
1
vote
1answer
28 views

How to get swappiness to stay low

Alright, so I've been having trouble with the default value of swappniess (60) making life a living hell (which is probably another problem that needs to be sorted out, but currently cannot be until ...
0
votes
2answers
48 views

Secondary hdd with swap partition: spindown?

I'm running Ubuntu 16.04 on a laptop. I have a small, 120GB SSD drive, and a secondary 1TB HDD. Today I made Linux use a swap partition that is located on that second drive. After testing things out ...
0
votes
1answer
35 views

Question about installing ubuntu [duplicate]

I have 3 questions about installing ubuntu Please help Me. How much space I have to give to swap partition? My ram is 8GB. We check two options when installing Ubuntu (one is mp3 fluendo plugin and ...
0
votes
0answers
13 views

Cannot install Ubuntu 15.10 (Swap partition creation failed) [duplicate]

I got a 2nd laptop with no operating system on it and I would like to install Ubuntu 15.10 on it. I made an bootable USB stick with a genuine version of Ubuntu 15.10 (from Ubuntu.com), and right now I'...
0
votes
1answer
23 views

Extend home without unallocated space. With swap or ntfs [duplicate]

I've just installed (some months ago) Ubuntu 14.04 on my Asus laptop. I followed a specific guide on partitions and thought everything was ok. But, beeing pretty new at this I probably made some ...
0
votes
0answers
15 views

Swap on video ram

I'd like to create Swap on video ram. I don't use my additional graphic card. Is a way to do this in Ubuntu ? https://wiki.archlinux.org/index.php/swap_on_video_ram
0
votes
1answer
17 views

man page of swapon doesn't match with what I am seeing

I am playing around with swap and added my own swap partition. but when I do I noticed something odd. test@ubuntu:~/5Gdisk$ cat /proc/swaps Filename Type Size Used Priority /dev/...
0
votes
1answer
15 views

Move swap and extend home partition [duplicate]

I have dual boot Ubuntu 14.04 and Win8.1. For some reason (my mistake) I have my home partition (80GB) than swap (4GB) and then 200GB of unallocated space (in that order). I want to use this free ...
0
votes
3answers
67 views

Do I need to clear out swap to make my computer fast again?

I ran a process which used up mostly all my RAM and Swap... I was forced to kill the process, but now I see something strange, my Swap usage has decreased a little bit, but it is still half used while ...
2
votes
2answers
42 views

Finding my swap partition

It looks like I have 40 GB of swap: wuser@wavesftwDell:~$ cat /proc/swaps Filename Type Size Used Priority /dev/dm-1 ...
0
votes
0answers
19 views

Why goes nothing change when i add Swap on terminal

I am running Ubuntu 15.10 and I want to grow my swap partition from 4G to 8G. I followed this guide and after running the following command it appears that I have 8G: mark@mark-HP-Pavilion-dv4-...
0
votes
1answer
28 views

Allocating disk space as memory temporarily

I need to run some application to convert large files (7GB). The converter application isn't nicely written. So it doesn't stream the coverted data. Therefore, it requires high amount of memory. I ...
0
votes
0answers
10 views

>4GB Free and Merely Closing Tabs Causes Chrome to Thrash Disk

The red light stays on, I can't click on even the launcher bar, occasionally the windows "grey out" and all because I'm merely trying to close Chrome tabs? With most of my 8GB RAM free according to "...
0
votes
1answer
39 views

Build fails after not enough RAM even after swap

I have a 4GB RAM and I have to work in android environment. Some components in the source needs high RAM as a result, I made a swap file of 8GB and I have a 4GB RAM. My RAM is 11mb or less while ...
0
votes
0answers
50 views

swap problems on Ubuntu GNOME 15.10

Why does this happen on the output of systemctl status dev-sda4.swap -l: dev-sda4.swap - Swap Partition Loaded: loaded (/run/systemd/generator.late/dev-sda4.swap) Active: failed (Result: exit-...
0
votes
0answers
39 views

Swap Partition Causing Lock ups/Freezes

I recently added a swap partition and it functions properly. However, I have noticed that whenever I run programs that use a lot of memory (use most of my ram and 1 gb of my swap), my GUI locks up, my ...
0
votes
0answers
49 views

Does Ubuntu limit svn process memory if ulimit returns unlimited?

I am trying to commit a file using svn it crashes with an Out of memory error. I am running Ubuntu 14.04.1 and have 6G memory, 6G swap partition and 12G swap file. I am able to use svn to commit ...
-3
votes
2answers
42 views

How can I save a swap?

I have Linux at my school and I must go from 1983 to 3007 with swapon. I did that but if I reboot the system it is not saved. how can I save this?
0
votes
0answers
46 views

Ubuntu 14.04 stuck in black screen for a minute before booting. According to dmesg, mounting swap partition is delaying the boot process

Ubuntu is taking at least a minute to boot. I checked the dmesg output and it seems that mounting swap takes a long time. I can't seem to figure out why this is happening? Dmesg output is as follows:...
0
votes
0answers
17 views

Installing U14 Server on external drive wants to use internal drive for swap

I'm installing U14 Server onto an external drive that is connected to my MacBook Pro. I already have OSX running side-by-side U14 Desktop (using rEFInd) and therefore have an existing swap partition ...
1
vote
0answers
80 views

Adding swap takes 90 seconds?

Adding SWAP takes 90 seconds on my Lubuntu 14.04 machine. I dont know why this happens, it makes my computer boot very slowly. How can I resolve this? My RAM is 2 GB, HD is 250 GB with only one ...
0
votes
0answers
32 views

Is there a Swap Manager built into 15.10?

There is a bug 1464917 that affects many including me. I think it is related to orphaned data in swap. I am looking for information on how the system manages these orphaned files left in swap in ...
5
votes
1answer
197 views

Permission denied when changing swappiness

I'm trying to set my swappiness to a more reasonable value than 60, but I get errors: root@server1:~# sysctl vm.swappiness=10 sysctl: permission denied on key 'vm.swappiness' root@server1:~# swapoff -...
2
votes
0answers
37 views

Swap being used and performance sluggish even though I have 8 gig of RAM?

I have read Why is swap being used even though I have plenty of free RAM? the thread, which was very helpful, however I have 8 gigs of ram installed, (mentioned in the thread as masses of ram), and am ...
0
votes
0answers
28 views

Increase existing Ubuntu Partition into Swap space [duplicate]

My dual boot (with XP) Ubuntu 12.04 installation ran well for 18 months. It was allocated 25Gb (ext4) + 25Gb (swap) in the first instance using GParted. About 2 months ago I received a warning that it ...