Linked Questions

16 votes
7 answers
23k views

Cached Memory Takes all the memory

I've switched to Ubuntu just a couple of months ago. Some days ago, I found out that the system is storing cache in memory which is occupying a lot of space and although I'm getting the benefit of ...
Labham Jain's user avatar
18 votes
4 answers
21k views

Why is the default swappiness 60? What would be the effect if I lower the swappiness value for my desktop PC?

I was reading about swappiness in various forums and I saw some videos. Many stated that it's a good thing for desktop users to decrease the swappiness value below 60 (which is the default). Some ...
842Mono's user avatar
  • 9,790
3 votes
3 answers
13k 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 ...
Questioner's user avatar
  • 6,849
4 votes
3 answers
13k views

How to solve ram usage excessive on Ubuntu 18.04.2 LTS

My laptop: 4gb Ram, CPU Intel Core i5 6200. os: Ubuntu 18.04.2 LTS. I have a problem with ram usage excessive. When i close app, ram no change. so my laptop lag and run so slow. You can help me?
Nguyễn Đình Trường's user avatar
5 votes
4 answers
9k views

New 18.04 using 2 GB of RAM

I have a 4GB RAM laptop. During last week, my system was freezing a lot. When I checked the stats, it said 2 GB or RAM and 1 GB cache is in use. The load is some 1.2 or similar. So I reinstalled 18.04 ...
user227495's user avatar
  • 4,089
9 votes
1 answer
7k views

Why is swappiness=10 recommended?

A value of swappiness=10 is recommended in Ubuntu's SwapFaq. Why is a value of 10 is recommended rather than swappiness=0? Are there any pros of 10 or cons of zero?
Eric's user avatar
  • 93
5 votes
1 answer
5k views

Swap on SSD: partition or file?

I'm installing Ubuntu on a Samsung evo 850 SSD drive. System has 4GB memory but no other harddrive. Should I use thedefault partition table or install without swap and make a swap file after ...
Ville's user avatar
  • 129
2 votes
3 answers
6k views

No 100% Memory Usage

I've 4 GiB RAM, and System Monitor shows 3.8 GiB. I think 200 MiB is for GPU. But I've never seen Memory usage more than 3.0 GiB. If memory usage is close to 3 GiB, it uses Swap, and when it reaches ...
Ikrom's user avatar
  • 183
0 votes
3 answers
9k views

Why Does Ubuntu use so much ram?

I'm new to Linux and just installed Ubuntu. I'm really enjoying it, so far. But the ram usage is quite high, I think? The system is using 3.1GB RAM while I'm just browsing the internet. Is this normal,...
ACN's user avatar
  • 27
1 vote
3 answers
11k views

How to reduce swap usage? (SSD) [duplicate]

I usually sleep my laptop. After waking, the swap usage has increased.
Rajesh Chaudhary's user avatar
2 votes
4 answers
2k 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 ...
Alan's user avatar
  • 2,770
0 votes
2 answers
3k views

How to swap more often

My PC has swappiness set to 60. cat /proc/sys/vm/swappiness 60 Even so, swap only occurred when the PC runs out of RAM. So, every time I fill the RAM, it stops responding for a while while it is ...
brunoais's user avatar
  • 165
12 votes
1 answer
2k views

How to prevent my system from becoming unresponsive when thrashing (out of RAM)?

I have 8GB of RAM, but sometimes I'm running a couple VMs and enough Chrome processes to use up most of my memory. That's usually fine, but sometimes my system starts thrashing, and it's difficult ...
Sam King's user avatar
  • 719
2 votes
1 answer
2k views

System freezes when RAM limit reached, doesn't use swap

I have a 16GB RAM system and whenever I hit the limit of RAM the whole system freezes even the mouse cursor starts to become jittery until it doesn't move at all. Keyboard, mouse, nothing. So I am ...
thorie's user avatar
  • 23
0 votes
1 answer
2k views

Is it possible to limit cache memory to a process?

I am using network capture tool named dumpcap and it is consuming too much cache memory. So other processes getting no memory to run. htop command shown cache memory as 29 GB in Meters. Can ...
Binu Babu's user avatar

15 30 50 per page