1
vote
0answers
49 views

enabling swapping cripples system

I am having a strange issue. Essentially, when swapping is enabled (on a swap partition), the system becomes unusably slow even at times when no swapping is in fact occurring. For example, when ...
0
votes
0answers
15 views

Difference between System monitor and free -h

I have a Lenovo T430 laptop with 3.7GB of RAM. Since I started using this machine I observe the following strange behavior. If I do a lot of things, say have rails server running, a few nodejs ...
0
votes
2answers
128 views

What swapfile size to make? I have 4GB RAM [duplicate]

Very often I am out of memory and I noticed that I didn't have swapfile... What size should I choose? I have 4 RAM. All programs which I use are: Firefox, Thunderbird, Grive, Android Studio, that's ...
1
vote
0answers
41 views

huge cached memory, mostly freez system :(

I have a problem with system memory cache, i think it is bigger than normals. after 5-10 minute of usage, system become unusable and i must restart my "Asus X451-CA" laptop. this command ran upon user ...
2
votes
3answers
608 views

Why does my system use so much cache?

Previously, on my desktop computer running Ubuntu 14.04, I had 4GB RAM, which I thought should be plenty. However, after being on for a while, my computer would seem to get slow. I have a system ...
0
votes
1answer
35 views

Are all pages of a process loaded in swap file / partition?

"Swap space is the area on a hard disk which is part of the Virtual Memory of your machine, which is a combination of accessible physical memory (RAM) and the swap space" . According to a user now , ...
2
votes
1answer
1k views

zram vs zswap vs zcache Ultimate guide: when to use which one

What the hell are they? how are they different (I've written my understanding in an answer below) In the Zswap system, when a page is evicted from the zswap to the actual swap is it stored in a ...
1
vote
3answers
154 views

Ubuntu Frozen every time when Memory usage over 80%

Ubuntu Frozen every time when Memory usage over 80%, It seems that the system hangs due to a load of disk IO - the screen is frozen and the only thing I can see is the indicator LED of disk keeping ...
1
vote
1answer
116 views

Know programs in cache

I have this situation with RAM and SWAP at the moment: $ free -h total used free shared buffers cached Mem: 7,7G 7,5G 159M 100M ...
2
votes
1answer
50 views

Lagging when swapping

I use Ubuntu 14.04 on my Lenovo E531 with 4GB installed. The problem is that when the RAM is about 70% full the system starts swapping. After swap is used (even if only 10MB is in swap) the system ...
0
votes
1answer
917 views

Increasing swap memory in ubuntu 14.04

I want to know if it is possible to increase swap memory in Ubuntu 14.04. How is it possible? Another question: I installed Ubuntu 14.04 on my laptop (ASUS)...When I'm working with it and open URL ...
0
votes
0answers
169 views

Upgrade to 14.04 Memory Allocation Problem

Recently did a fresh install on my laptop to 13.10 to prepare for the LTS release. I started the upgrade process when the updater prompted and read a book waiting for it. When I checked on the ...
0
votes
0answers
29 views

Dev box: no swap space to speed up OOM killer

The TLDR: I do bad moves that flood the RAM, I'm curious whether having no swap would spare me the half hour wait for the OOM killer. Before deploying a few machines with a hacky config, I'd like the ...
1
vote
1answer
145 views

Is there a maximum swap partition size for 12.04, 64 bit

I am running 64 bit ubuntu 12.04 on HP Envy Spectre ultrabook, with 4GB of RAM. I have been running into problems with python code which uses RAM very inefficiently, see e.g. here, causing my code to ...
1
vote
2answers
93 views

Why do some processes use swap and others don't?

I experience from time to time when I'm working heavily, that my systems (Ubuntu 13.10) freezes. Syslog says, that a process had to be killed to to memory shortage. Killed process 4693 ...
0
votes
0answers
22 views

How to clean SWAP space in ubuntu 12.04 [duplicate]

I have a computer with ubuntu 12.04 installed. Unfortunately, when I run a memory taking program, it fills the RAM and uses the SWAP space. Then after the program terminates, the memory is completely ...
1
vote
0answers
28 views

Virtual memory or swap memory on ubuntu installed by wubi installer

I am using Ubuntu 32 bit which I have installed inside windows 7 with wubi installer. I have noted that my Ubuntu swap memory is only 256MB and my ram is 2GB. I have tried my best to gain swap memory ...
1
vote
1answer
68 views

Help with ram usage

I have a dual boot laptop with 512 MB RAM running Windows XP/Xubuntu. I try to load student.portal.chalmers.se (a huge bloat site) in Firefox. On XP, I can load the site without any swapping, but ...
1
vote
1answer
90 views

What do I do when extensive SWAP access makes system dead

Memory is getting low and heavy SWAP access makes my system responding very slowly at first, but if I don't react by freeing a lot of memory, the system becomes like almost completely dead. Now I have ...
0
votes
1answer
148 views

Swap taking more ram memory, my system running slow

When I give the command 'free -g' and view the output, it says total used free shared buffers cached Mem: 1 1 0 0 ...
1
vote
2answers
874 views

how can I increase my RAM size with a swap partition? [duplicate]

Presently my RAM is 2GB. I heard that in linux we can get extra memory to RAM from the harddisk by using swap partition. What is the procedure for that? here in the pics i'm giving my system info. ...
0
votes
0answers
44 views

Swap file not being utilized. Program Killed due to memory

I have set up a swap partition on 12.04, as per the below. #swapon -s Filename Type Size Used Priority /swapfile file 1048572 0 -1 ...
0
votes
0answers
50 views

More disk read/write after decreasing swapiness

I know this may sound absurd but my laptop has Xubuntu Saucy with 4GB RAM. I decreased swapiness from 60 to 7 but now applications take more time to launch and I see disk i/o before the application ...
-1
votes
3answers
3k views

Do I need a swap partition? [duplicate]

I have 4GB of RAM and I want to install Ubuntu. Do I need a to have a swap partition? Because my computer has 4GB RAM, I do not think it is necessary to have a swap partition. If I do need to have a ...
0
votes
1answer
120 views

How much swap space should I configure? [duplicate]

How much swap space should I have? I have a 500GB HDD and 6GB RAM. My specs: Release 12.04 (precise) 64-bit Kernel Linux 3.8.0-34-generic GNOME 3.4.2 Memory: 5.7 GiB Processor: Intel® Core™ ...
1
vote
1answer
44 views

ubuntu 12.04 2D hibernatization

I'm pretty noob in linux OS. I chose ubuntu to start with, because is most user friendly. But i can't make him go to hibernate. I have 2 gb RAM and 4 gb SWAP, i follow the instructions to enable ...
0
votes
1answer
559 views

Make my Ubuntu, use more swap than RAM

So, I have 786 MB RAM with 1.6 GB Swap. I want to increase the usage of swap. In other words, i want my Ubuntu to use more Swap than My RAM. Please Tell me, how to do it
0
votes
1answer
126 views

Heavy applications lag Xubuntu

Ever since i started using Xubuntu I have noticed that whenever I run any heavy application like Eclipse, Tomcat Server or even when I open sites like facebook in multiple tabs in the Web Browser my ...
1
vote
0answers
136 views

Ubuntu crashes with high memory use without swapping

I'm running some memory intensive calculations on Ubuntu 13.04. I have 8 GB of RAM, and a swap partition with the same amount of memory. The hard disk and swap partition are encrypted. › free -m ...
0
votes
2answers
180 views

Is ubuntu swap enabled

I have installed ubuntu in my computer, later, I format a partition as linux swap and want to replace it with existing tmp directory under mount point /. I followed procedure given in this link: ...
0
votes
1answer
112 views

Does Swap Space Use Real RAM To Keep It On?

I would like to know if having swap space, uses RAM/Memory to keep the swap space 'active', even though the swap space is virtual RAM.
0
votes
1answer
955 views

Comparing Virtual Memory Size with Resident Size

I came across this stackoverflow post: http://stackoverflow.com/questions/10400751/how-do-vmrss-and-resident-set-size-match The answer voted correctly states the following: "So, VSS should be ...
0
votes
1answer
102 views

How to re-encrypt my swap to activate it again?

A while back I was messing with my swap space, turning it on and off using sudo swapon -a and sudo swapoff -a. Since I generally have enough RAM anyway (6GB) I totally forgot about it. Currently I am ...
2
votes
1answer
207 views

ux31a freezes when running out of memory

I have difficulties to understand swap policy. I have installed system (ubuntu 13.04 but 12.10 had same issue) with 4gb of swap partition because ux31a has 4 gb of memory. Problem is that every time ...
-1
votes
2answers
104 views

Swap Files slowing down games

I have a 16 GB Alienware M17X, and every time I try to play a game the game will run perfectly for a minute or so but then the game starts to lag. Now I believe this is a swap file problem. So does ...
1
vote
2answers
721 views

Error -12 hibernation image. Not enough free memory (sometimes)

I am having a problem with hibernation in Ubuntu 12.10, it had worked fine in 12.04. When I try and hibernate it sometimes appears to hibernate throws up an error and returns me to the desktop. The ...
1
vote
1answer
1k views

ubuntu 12.10.zram-config or zramswap-enabler?Which is better?

Which of this two are better for upstarting the zram?zram-config is available at software center.The other one is from ppa.
2
votes
1answer
650 views

Is my computer slow due to lack of swap

A few months ago, I installed Ubuntu 12.04 alongside with Windows 7 on my Asus EEE-PC 1015bx. It has a tendency of freezing and when trying to investigate I found that a swap partition of only 256 MB ...
1
vote
2answers
153 views

Cant set up Swap Memory

My system was recently locking up, and I realized that all my ram was all used up. I then inserted an old Hard drive and made an 8gb swap partition to compensate. Swap memory is "not avaliable" which ...
2
votes
2answers
5k views

Ubuntu swappiness

I have a laptop with 4 GB RAM and i3 processor. It runs very fast when I use windows, but it keeps slowing down on my Ubuntu when I use it continuously. I noticed that 500mb+ swap is getting used even ...
20
votes
5answers
20k views

How do I use zRam?

I installed zRam as described on webupd8.org. I installed it from the terminal. Is that all I have to do or do I have to do some configuration or something? Does the zram-enabler do everything by ...
9
votes
6answers
16k views

How do I find out if I have a swap partition on my hard drive?

I used the 12.04 live cd to install Ubuntu over my Windows 7 partition and deleted everything so I just have Ubuntu on my laptop. But since during the installer I chose the simple "erase entire disk" ...
0
votes
1answer
4k views

How do I calculate a SWAP partition? [duplicate]

Possible Duplicate: I have 16GB RAM. Do I need 32GB swap? Since the late 90s I've always understood that it is best practice to allocate twice the amount of physical RAM as swap space. I ...
0
votes
1answer
379 views

Swappiness issues

I just got an old laptop, and I am using it to run a minecraft server, just for the fun, but the problem is it only has got 2gbs of ram, I made a 20gb swap section, set swappiness to 100, but I still ...
1
vote
1answer
2k views

Ubuntu 12.04 Slow and low memory

I have an old laptop, a Dell Inspiron 8100, that I use to "play" with Ubuntu on. It is my "learning" machine where I experiment with new OS and such, so it is not critical, but I really want it to ...
3
votes
0answers
479 views

How much swap do I really need? [duplicate]

Possible Duplicate: I have 16GB RAM. Do I need 32GB swap? I have a 4 GB RAM and 300 GB HDD with 8 GB of it as a Swap partition. I'm running 12.04 with hibernate enabled. How much swap do I ...
1
vote
2answers
344 views

Swap is not copied back into physical memory

I have a question regarding swap and physical memory. Often times I run a program that requires a lot of memory and as a result I can see some of the data is copied from the physical memory into swap. ...
6
votes
4answers
14k views

Using usbdrive as ram in ubuntu

In windows it is possible to use usb flash drive as a virtual ram. I wonder if it is possible to do so in ubuntu? If it is, how could one do it? [Edit]: I mean Ready boost equivallent for ubuntu. I ...
2
votes
1answer
3k views

Can I create virtual memory?

On Windows you can use virtual memory to use disk space as RAM. Can you do this on Ubuntu?
7
votes
2answers
497 views

How to configure how much RAM usage should to start swapping on Ubuntu

I always notice that Ubuntu start using swap, as soon as the RAM usage is around 60-70%. How to configure it so it should wait so RAM usage became 80-90%. And is there a way to empty the swap, as soon ...