0
votes
1answer
33 views

Memory is not released from swap when a program is terminated

Memory and swap are both near maximum. I shut down all the processes I initiated. The memory and swap are still both near maximum. Is there a way to release the memory used by a terminated program? ...
1
vote
1answer
135 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
1answer
95 views

Forgot to add swap memory during installation [duplicate]

In my ignorance I didn't add swap memory to my install. So my question is, can I work without it and if not how can I add it to my existing install? Love to get some feedback!
2
votes
2answers
188 views

Deactivating swap file without any computer freeze

I'm currently coding on my laptop: 4 gb of rams, never using more than 2.5-3gb but at times, I'll mess up my programs, run them with memory leaks and they'll make the computer freeze when trying to ...
0
votes
1answer
109 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™ ...
0
votes
1answer
925 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 ...
60
votes
5answers
28k views

Why is swap being used even though I have plenty of free RAM?

I thought the whole essence of swap was to act as a temporary storage safety net when RAM was full but my swap partition is constantly being used even though I sometimes have as much as 3GB free RAM. ...
1
vote
1answer
2k views

Ubuntu locks up when swap full

I have a Ubuntu system running xfce and 2 GB RAM. I have a 1GB swap file which, when multitasking begins to fill up. When I have even a small amount of free swap, I have no issues, but the second the ...
6
votes
2answers
488 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 ...