Questions tagged [memory-usage]

Questions related to memory usage related to RAM, swap; issues expansion, in Ubuntu.

497 questions
492
votes
3 answers

How do I configure swappiness?

I need a step-by-step, simple and easy way to configure swappiness.
One Zero
  • 27,931
368
votes
13 answers

How can I monitor the memory usage?

I have used top to see the memory usage at the moment. But I would like to monitor the memory usage over a period of time. E.g start monitoring and then execute a few commands, and final stop the monitoring and see how much memory that have been…
Jonas
  • 8,787
321
votes
6 answers

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. Is this normal?
Mysterio
  • 12,408
76
votes
6 answers

How do you find out which program is using too much memory?

Ubuntu has been crashing on me recently. I think its because it runs out of memory so I ran the free -m command and found that my memory usage was really high. So then, i ran top to find the culprit, but the displayed processes were using less than…
shxfee
  • 1,047
68
votes
4 answers

'zeitgeist-fts' always using a lot of memory!

What is zeitgeist-fts ?! It's always in the 3 top positions of memory usage (competing with Firefox and Compiz ) . After a fresh boot it uses about 30 MB, but after some hours or a day, it goes above 300 MB and stays there ! The file of this process…
64
votes
4 answers

How to interpret output of "free -m" command?

The output of free -m is: total used free shared buffers cached Mem: 595 482 112 0 63 324 -/+ buffers/cache: 93 501 swap: 0 0 0 Which value of used memory is correct, 482 or 93?
amoooc
  • 1,021
40
votes
7 answers

How do I use oom_score_adj?

On 11.04, /proc/[pid] contains oom_score_adj , but man proc describes the old oom_adj . I have googled unsuccessfully for any information on how to use this. What I need to arrange is that processes started by 'pbs' or 'gridengine' are killed before…
38
votes
3 answers

Lowering Compiz memory usage

I have been following the updates that appear every week in how they affect the performance and resource usage of Compiz since I installed 11.10 (Right now I am testing 12.04 and 14.04). For what I have seen, the CPU and memory usage have lowered…
Luis Alvarado
  • 218,411
37
votes
8 answers

How to know each TAB memory usage ?

Hi, is it possible to know that, if Firefox or any browser is opened, whats the amount of memory taken up by each TAB of web-browser ? I am just curious to know.
Raja G
  • 106,247
  • 108
  • 267
  • 335
37
votes
6 answers

How do I show memory usage information in top bar or as notification?

I have 4GB RAM. When I open Firefox, IntelliJ IDEA or VS Code and some other application my memory is about used up thus my machine hangs and I can't do anything. I can't even close any applications. Date and time are shown in the top bar so that I…
alhelal
  • 2,771
  • 7
  • 30
  • 49
36
votes
2 answers

Memory limiting solutions for greedy applications that can crash OS?

I use my computer for scientific programming. It has a healthy 8GB of RAM and 12GB of swap space. Often, as my problems have gotten larger, I exceed all of the available RAM. Rather than crashing (which would be preferred), it seems Ubuntu starts…
Hooked
  • 2,362
35
votes
3 answers

Should the snap-store be using >300Mb of memory?

The snap-store process is intermittently using hundreds of megabytes of RAM. Is this normal? Is there a solution?
James
  • 991
  • 3
  • 12
  • 24
34
votes
2 answers

Can a vanilla Ubuntu 16.04 LTS Server run without snapd?

I've been running out of memory on some of my small-footprint Ubuntu appliances. I noticed that snapd was running and using lots and lots of RAM. I took a chance and stopped the snapd service and things are still functioning, but I'm wondering if my…
34
votes
1 answer

What do the changes in `free` output from 14.04 to 16.04 mean?

I noticed that the free command reporting has changed somewhere between Trusty and Xenial. Here is what `free -m' shows on one of my Trusty computers: $ free -m total used free shared buffers cached Mem: 7916 7645 271 99 455 1764 -/+ buffers/cache:…
otus
  • 883
33
votes
4 answers

Why am I frequently getting this "Cannot allocate memory" error?

I'm using Ubuntu 12.10 with Gnome-Classic. I am getting this error frequently and with almost all programs, big and small. When I try to open them, they don't start, and instead I get an error message that says Could not launch 'Program' - Failed to…
Questioner
  • 7,009
1
2 3
…
33 34