0
votes
0answers
7 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
76 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
49 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
20 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
16 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
57 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
47 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
58 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
184 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
27 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
25 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
701 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
85 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
39 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
281 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
79 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
110 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
137 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
99 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
0answers
11 views

How to manipulate the threshold(s) that memory swapping (paging) occurs? [duplicate]

I'm trying to do something that seems counter-intuitive, but I hope will make sense by the time I'm finished with the question. I have a hosted VPS that's running 64-bit Ubuntu 12.04. The VPS comes ...
0
votes
1answer
749 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
88 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
171 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
96 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
618 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
537 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
147 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
4k 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 ...
15
votes
5answers
16k 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 ...
6
votes
5answers
10k 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
3k 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
315 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
309 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. ...
3
votes
4answers
11k 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?
6
votes
2answers
457 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 ...
1
vote
3answers
564 views

Disk I/O makes desktop unusable. System consumes too much memory

I have a long-term problem with my Acer TravelMate 3002WTMi (Pentium-M 1.73Ghz, 512 MB RAM) and Xubuntu 11.10. Whenever load increases machine tends to slow down to the point that it's totally ...
0
votes
1answer
134 views

Recovering from swap lock

I've had this problem come up a few times and Google isn't my friend this time. Is there a quick way to recover from a swap lock? They can sometimes last twenty or more minutes which is a long time to ...
2
votes
3answers
244 views

Why isn't my SWAP cleared after usage?

When I use a lot of RAM (90-100%) then the laptop normally starts using SWAP so if I look in htop during that intense usage I see it's using 200MB of SWAP. But when I stop using the laptop (the ...
1
vote
1answer
651 views

Mysterious RAM and SWAP usage [closed]

On my HP laptop I have 8Gb RAM and a SSD 4Gb cached 500Gb hD. I'm running Ubuntu 11.10 x64 Recently I set the swappiness parameter to 0 to try to totally avoid the usage of SWAP, I know is nearly ...
1
vote
2answers
2k views

“Cannot fork” error messages

This happens with many different programs from the terminal. Usually accompanied with some error message about not being able to allocate memory. When I try "free -m" this is the output: ...
0
votes
3answers
465 views

Small Swap Size in SSD Notebook

I have read a lot of questions and answers about swap size but I am still quite confused. I have also read this article, which suggests swap size of half to two times of RAM, depending on low/high RAM ...
10
votes
4answers
8k views

How to permanently enable compressed ram swap? What version to use?

EDIT: In precise there's now zram-config. It's an upstart job compressing up to half of your ram spread over $(number of CPU cores) swap devices. It didn't allways start at boot but issuing sudo ...
5
votes
1answer
2k views

How large of a swap partition is needed to hibernate?

I've read this question, but it doesn't definitively answer my question. If I want my computer to be able to hibernate, do I need to have a swap partition as large as my RAM, or will Ubuntu wisely be ...
95
votes
18answers
44k views

I have 16GB RAM. Do I need 32GB swap?

I read many places that the rule of thumb for swap space is to double the amount of physical RAM. However, 32 GB does seem a LOT. Do I need that much? Do I need it at all with this high amount of ...
4
votes
2answers
3k views

How to use a compressed ramdisk (ramzswap)? Huge speed gain

Since I don't use my laptop's CD-drive I want to put a small (8 GB) SSD into the CD-drive slot (I'll use a caddy similar to this one). I want to use compressed btrfs on the SSD and put all the data on ...
2
votes
4answers
1k views

Would I benefit from reducing, or increasing swappiness?

I've read a few articles now about changing the swappiness level on Ubuntu to possibly increase performance. But I'm very unfamiliar with how swappiness works, would I benefit from increasing, or ...