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

learn more… | top users | synonyms

60
votes
5answers
29k 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. ...
36
votes
6answers
58k views

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 ...
19
votes
2answers
15k views

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, ...
18
votes
2answers
6k views

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 ...
14
votes
2answers
9k views

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 ...
13
votes
4answers
6k views

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.
13
votes
2answers
4k views

Can I copy large files faster without using the file cache?

After adding the preload package, my applications seem to speed up but if I copy a large file, the file cache grows by more than double the size of the file. By transferring a single 3-4 GB ...
11
votes
2answers
967 views

How to prevent so many instances of apt-check running?

I have an Ubuntu 12.04 server that just crashed because of a very obvious cause: 30+ of apt-check processes consuming all memory, the OOM killer kicking in, killing vital services. I'm not sure where ...
10
votes
2answers
2k views

What is the difference between the memory usage report in System Monitor and the one by free?

I am using System Monitor 2.28.0. When I look in the Resources tab, I see a nice graph with for memory and swap. Memory is about 60% 2.3 GiB of 3.8. When I type the command free, I got : ...
8
votes
2answers
2k views

Memory usage doesn't add up over time

The memory usage on my Ubuntu 13.04 system doesn't add up over time. I've tried the 3.8.0-xx kernels and the latest 3.9 from /~kernel-ppa/mainline. When I first boot, it all adds up correctly but ...
8
votes
3answers
2k views

How to read correctly “free -m” output?

The output of free -m: total used free shared buffers cached Mem: 595 482 112 0 63 324 -/+ ...
8
votes
2answers
5k views

'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 ...
7
votes
4answers
684 views

Where has all the RAM gone?

I have 1GB of RAM, and when I run NetBeans and Firefox, they get about 300MB of RAM. At some point, the system becomes very slow, probably 100 times slower than normal, switching windows (Alt+Tab) ...
7
votes
3answers
750 views

How do I throttle a command in a terminal window?

I needed to run convert with a lot of images at the same time. The command took quite a while but this doesn't bother me. The issue is that this command rendered my computer unusable while the ...
7
votes
4answers
5k views

Is there an application that can show memory usage in a similar manner to top?

I would like to leave an application running in my terminal that shows me the memory usage, similar to how top shows CPU and other info, and iotop shows the top I/O users. Does such an application ...
7
votes
2answers
4k views

How to log memory and cpu usage of an application?

Similar to question How to log CPU load?, I would like to log memory of a process. The process I want to log, is killed on a remote server, and I want to find out the CPU load and the memory usage ...
7
votes
2answers
3k views

How to restore/change Alt+Tab behaviour/ram usage and a few other things after Ubuntu upgrade from 11.04 to 11.10? [closed]

I use Ubuntu for programming. I recently updated it from 11.04 to 11.10. There are some things I don't like in the new version of Unity desktop interface. I don't actually know if it is hard to ...
6
votes
3answers
6k views

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 ...
6
votes
2answers
489 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 ...
6
votes
3answers
3k views

compiz huge memory leak- ubuntu 11.04-unity

memory used by the compiz app (ID 1527) when session is started- 45-55 Mb, memory used after 2 hours, 500 MB. i found the following bug report ...
6
votes
2answers
122 views

Why do top and lxtask show different degrees of memory usage?

Why does top show 730MB of RAM used, but the "Task Manager" shows 190MB? Some more information on my system: Lubuntu 14.04 VirtualBox Screenshots:
6
votes
2answers
2k views

Why don't the %MEM values in top add up to the total used memory?

I'm currently debugging performance issues with my VPS and for that I'm trying to understand which of the processes eat the most memory. Reading top, here's what I get: Mem: 366544k total, ...
5
votes
2answers
12k views

Tracking memory process wise on Ubuntu

I have an rails 3 application with 100-200 daily unique visitors. The total memory consumed on the server(Ubuntu) is around 1.5-2 GB. I want to know how much memory is used by each process. What are ...
5
votes
2answers
870 views

Is Chromium GTK+ theme lighter than the others?

Or is it heavier? What other aspects could one consider here beside aesthetics?
5
votes
2answers
3k views

How do I get the actual used memory including RAM disks?

free -m does not seems to include memory used by RAM disks (tmpfs filesystems). Maybe because it's something in the kernel space? How do I get the real memory usage (or it's opposite, free memory) ...
5
votes
2answers
910 views

OS only reports 4.1GB of RAM and not the 6GB that is installed… why?

My ubuntu 64-bit 11.10 installed box has 6GB RAM but Ubuntu only uses 4.1GB. I have read various things about the 4GB limit etc, but all those talk about using less than 4GB. What could be causing ...
4
votes
2answers
236 views

How to use free -m to get memory usage for all users

I typed the free command to get the memory usage as follows : free -m output: I want to use this command to get the same info but for all users for example : I used this command .. because ...
4
votes
2answers
5k views

What is process “/usr/bin/X :0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch -background none”?

I am experiencing some serious performance issues with my Ubuntu 12.04 setup and thus looking for the culprit by running htop alongside my usual tasks. Aside from the usual suspects like chromium, ...
4
votes
2answers
1k views

Is it normal for my memory usage to be 8gb?

I just upgraded to 11.10 and while there are a few problems that seem like they might have gone away (about 50% of the time I couldn't boot properly - haven't seen that happen yet), occasionally my ...
4
votes
1answer
1k views

Set OOM killer adjustment for process on startup?

Is there a way to set the OOM killer adjustment value right when a daemon process (Apache in my case) starts? I would like to give the Apache processes a higher likelihood of being killed and make it ...
4
votes
2answers
796 views

2 GB Ram, but Ubuntu runs slowly and hangs if doing too much

I think my system more than meets the minimum/recommended requirements for Ubuntu, but its still running slowly. Especially when I try to multitask by having 4-6 windows open, then it becomes quite ...
4
votes
2answers
6k views

Reduce memory usage

I have just installed the standard default desktop configuration of Ubuntu 12.10 (Quantal Quetzal). My PC only has 1GB of RAM and is struggling a little. What steps can I take to reduce the memory ...
4
votes
2answers
1k views

System using a lot of memory and I cant find why

My Ubuntu is using an insane amount of ram memory. When I boot the machine it is using around 1,5 to 2 gig ram without me launching any applications. When I start firefox and vlc it maxes out. Going ...
3
votes
3answers
5k views

How to configure ubuntu for lightweight low-memory usage?

I just upgraded an old, secondary computer to the latest Kubuntu (10.10). It seems the effort was a bit too much for the hardware and one 512MB memory module died. I tried to take it away, clean the ...
3
votes
3answers
7k views

Ubuntu on 256MB RAM [duplicate]

Possible Duplicate: How to configure ubuntu for lightweight low-memory usage? How can I reduce Ubuntu install size to the minimum, with GUI? I was wondering if I can use Ubuntu (scale down ...
3
votes
2answers
1k views

Why I'm seeing 7 users, a abnormal usage of Virtual Memory, lots of stream connections and all process sleeping?

Using a Toshiba Satellite l645d s4025 amd dual core p320 2.1ghz 3gb ddr3 ram 250 gb hdd Below is the incomplete top report(don't know how to select all to copy) Using an Ubuntu 12.04 amd64 ...
3
votes
1answer
410 views

Changing to another distro: can the -home partition be kept?

I want to change from Ubuntu 11.04 to another distro and I have /home on a different partition than the other folders. I want to ask if it's possible to keep the same /home partion with another distro ...
3
votes
1answer
47 views

How to set a memory limit for a specific process?

I tried to execute mpiexec -16 ... on a 384 GB RAM server, but it induced OOM Killer and was aborted. How can I set a memory limit for mpiexec execution? I know ulimit, but it might affect other ...
3
votes
1answer
121 views

Will swap space auto-adjust when I upgrade my physical memory?

When I installed Ubuntu 13.10 I just ran through the default setup. Since then, I have decided to upgrade my physical memory. My question is, Will Ubuntu auto-adjust the default swap size to match ...
3
votes
1answer
476 views

Which processes with daemon are unnecessary?

I saw 3 processes which have "daemon.py" at the end of them and use 10 MB of memory each of them. What do they make? Also there are a lot of processes which have daemon inside. Are they really ...
3
votes
1answer
1k views

Does 64bit ubuntu takes more memory than 32bit or is “quantal” more demanding than “precise”?

I've just clean-installed 12.10 64bit and i noticed an increase in memory usage. I used 12.04 32bit and was running about ~400mb on startup(gnome3 no effects) + firefox, now the machine uses about ...
3
votes
2answers
2k views

Used memory in Linux? [duplicate]

Possible Duplicate: How can I monitor the memory usage? I see in System Monitor, used memory only 332MB, so free memory is ~3.4GB, but when I use command line: free -m, used memory is 1GB, ...
3
votes
2answers
367 views

is it normal for ubuntu 11.10 to use 1 GB of memory?

On my older system i ran the 32 bit version of Ubuntu with 4 GB of ram and noticed it rarely come near 1 gig of usage.I have my new system running with the 64 bit version.The new system is a quad ...
3
votes
1answer
2k views

Moving files to /dev/shm ramdisk doesn't increase RAM usage?

I've been wanting to make us of a ramdisk on my Ubuntu system for a while, and have done a bit of reading online. Most of the advice centres around using /dev/shm to move files into RAM. I wanted to ...
3
votes
4answers
1k views

what is the nm-applet and why does it take so much memory?

I was wondering why my memory useage was so high, what is this thing that take a whopping 1.2GB of memory. Please and thank you.
3
votes
2answers
1k views

Can I use all my RAM for application data?

I have yet another question about "where is my Linux memory" Question goes: can I use cache for application data? On my laptop I have 1GB ram. Situation after some time of work: browser takes 400MB ...
3
votes
4answers
70 views

How to monitor the memory consumed by a process?

I have a process that I would like to see how much memory it consumes while it is running. Right now I do this: ps faux | grep casper But that just gives me the information of that moment. It ...
3
votes
1answer
242 views

Where is my ram?

I have 2GB installed on my machine running Ubuntu 12.04. After some time of use, I see much of my RAM used. The RAM does not free enough even though I closed all my programs. I included 2 ...
3
votes
1answer
126 views

Is there a way to track a run away process?

Recently I've been getting a rather annoying problem, which seems to be linked to Firefox-Trunk, Thunderbird-Trunk, or possible Compiz (default 12.04 compiz with Unity). At random (it seems) the ...
3
votes
1answer
276 views

Where'd all my memory go? [closed]

After using the laptop for several days without rebooting, I start to get into awful swapping problems (combined with very poor responsiveness during IO operations, swapping 10mb could mean that the ...