Tagged Questions

Swap space is an area of the hard disk that serves as an overflow when the computer memory is full. The memory used by inactive applications is partially written out to disk to make room for other applications and for the disk cache for active files.

I have been developing a MySQL database that makes some use of BLObs. This has now been transferred on to a virtual machine (VM) in preparation for going fully into the 'cloud'. However some of the ...

I have 5.5 GiB memory, using 2.8 GiB (~50%), but my swap is using 1.9 GiB of 5.6 GiB (~33%). My computer operates okay but is sluggish at times.
So is this a high amount of swap usage or completely ...

I'm currently using thunderbird with gnupg to read encrypted emails.
If I understand the swapping behavior correctly, the memory pages containing the decrypted emails might be swapped out and leave ...

I am running solr on an Ubuntu server along with 4 other java processes. Current index size is 30 GB. My solr process gets killed frequently in few hours. It clearly mentions that its an OOM killer. I ...

I currently am SSHing into a Linux server via my mac's terminal program. Afterwards, I run whatever simulations and calculations I need to do.
However, I noticed that after I log in, it says on the ...

Is there a way to detect whether a swap partition contains the memory of a hibernated system?
More specifically: suppose I have a Linux installation and that I hibernate it. This means that all the ...

I would like to understand the difference of MAC OS X "Virtual Memory" and Linux/Unix Swap.
I ask this because I observed that MAC OS X "Virtual Memory" seems to work way more efficient (in desktop ...

How to have the advantages of tmpfs and not be limited to its small size?
I'm thinking of a shell script that runs as a daemon, monitors RAM and adds more swap files in specified folder, when memory ...

I found myself asking this question while doing small experiments and reading upon how memory is managed in Linux.
I have a 64-bit Centos 6.5 machine with 512M RAM and 1G SWAP. I created a 1GB file ...

I created a partition called /dev/sda3 as a swap partition, and changed the ID to 82 (Linux Swap) via fdisk. If this partition was recognized as a swap partition (seen in the output of fdisk -l and ...

My computer has 16GB RAM and 1TB SSD. So I think the swap partition is not needful.
What's the pros and cons of disabling the swap partition if the RAM is large enough?
Is it recommended to disable ...

(I am currently using Ubuntu 14.04 LTS, GNOME environment)
tl;dr How can I force more memory swapping (swappiness already at 100)?
I have recently been experiencing a lot of system freezes/crashes. ...

Generally, transactions for my app of setting and getting data internally are measured in a couple of millis. However, over 24K in size, that time can jump to just over 100 millis.
Is there anything ...

Memory Swap Ratio Company System
Today, a monitoring system indicated that one of the systems in the company has run out of memory. Executing htop on this system indicated that the Memory was nearly ...

I was wondering if putting the swap partition into a logical volume group has any drawbacks (e.g. performance), or would it be "just the same" as having it as a separate primary/logical partition?
I ...

Occasionally I'll have a system crash or be forced to do a cold reboot. Upon rebooting I will get a kernel crash. Get out a rescue disk, rebuild swap, then everything boots fine.
The thing is that I ...

I have a server application requiring usage of huge memory but can take little time. I therefore thought it should be economical to run it with a big swap and normal ram.
I was reading about serving ...

I know how to create a swap file and use it as swap. But I have to configure the size of the file beforehand and the space is used on the disk, if the swap is used or not.
How do I create a swap that ...