Questions tagged [swap]
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 partitions are called swap partitions.
1,396
questions
0
votes
1
answer
104
views
Ubuntu 24.04 won't resume after hibernation
I recently activated hibernation on my ubuntu 24.04 system following this guide (using Swap-File). I had some trouble at first but then it worked perfectly. After fiddling with some other things, i ...
1
vote
0
answers
66
views
Maintain CTRL-CAPS swap when connecting to Ubuntu 24.04 with Desktop Sharing from Windows RDP client
I have a new installation of Ubuntu 24.04 on a Dell notebook. I added XKBOPTIONS="ctrl:swapcaps" in /etc/default/keyboard.
The swap works as expected from the local keyboard on the notebook.
...
1
vote
2
answers
304
views
Swap (Memory really?) leak on fresh(ish) install of 24.04
I installed a minimal (GPT/UEFI) version of 24.04 (with a few extras so far) and it appears to have a swap (memory) leak. It is installed with a common /home with my 22.04 version and this does not ...
-1
votes
1
answer
83
views
Ubuntu 22.04.4 LTS, Swap works sometimes, and sometimes crashes python
OS: Ubuntu 22.04.4 LTS, 64-bit, 64Gb RAM
Python: 3.9.19
Summary:
Running memory-intensive analysis in Python causes python to crash most of the time, but not always.
Crashes happen specifically when ...
-1
votes
1
answer
144
views
Change default 4Gb of swap partition on LiveCD
When booted on the Ubuntu 24.04 live CD, where to find the default value of 4Gb of the swap partition which will be created?
I checked in /etc and /lib/python3/dist-packages with no success but it ...
0
votes
0
answers
79
views
Zfs encrypted re-install width more swap
I already installed Ubuntu 24.04 with encrypted zfs partition but my swap partition has only 4Gb.
So I would to reinstall it with a swap partition of 30Gb.
Can I use the actual partitioning and just ...
0
votes
0
answers
52
views
More swap on zfs architecture
I just installed Ubuntu 24.04 and choosed encrypted zfs architecture to set compression.
But I need more swap, by default it installed Ubuntu 24.04 with 4gb. I would need much more, at least 16gb.
...
0
votes
1
answer
41
views
Increase SWAP in Ubuntu OS Virtual Machine
I'm in a situation where I can increase the SWAP of the Ubuntu Server 22.04 OS Virtual Machine:
sudo swapoff -a
sudo rm -f /swapfile
sudo dd if=/dev/zero of=/swapfile bs=1024 count=32M
sudo swapon -s
...
1
vote
0
answers
142
views
How can I prevent the my Computer with Ubuntu to freeze because of 100% Ram usage?
I have a computer with
Description: Ubuntu 22.04.4 LTS
Release: 22.04
Codename: jammy
RAM: 33GB
RAM SWAP: 1GB
CPU 12 virtual cores (enough)
Now every other ...
-1
votes
1
answer
42
views
Swap to files not working
I have all my swap used (by Rust compiler) and it didn't grow despite I do have swapspace package installed.
total used free shared buff/cache available
Mem: ...
0
votes
0
answers
198
views
Limit Ubuntu RAM Usage (for the whole OS, not a process)
I have 24GB of ram, and using KDE.
For some reason, I want my OS to see only 10GB of RAM. When I get free -mh it tells me that my physical memory is 10GB.
How do I do that?
Note: My problem is with ...
0
votes
0
answers
19
views
Resume results in black screen (LUbunutu 22.04, same result with swap partion and swap file)
Previously I used a swapfile after a fresh LUbunutu 22.04 install. I configured UUID etc in the startup parameters. Because resume resulted in black screen I changed to a swap partition. (see also ...
-1
votes
2
answers
98
views
High swap, low memory
I would like to understand why is Ubuntu swapping while the memory is underutilized. I have plenty of RAM available, so I would not expect any swapping at this point.
0
votes
0
answers
33
views
Swap a broken key with a different key
My keyboard has one broken key, the equal button "=". I would like to swap this important key with a less important one, say the "Home" key. I heard that xmodmap or xkeycaps could ...
0
votes
1
answer
326
views
Change swap file to swap partition - can this be done easily?
I found many posts how to change a swap partition to a file e.g.: Swap partition to Swap file. Due to some hibernate issues with LUbuntu I'd like to change my swap file to a partition. Can this be ...