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

learn more… | top users | synonyms

14
votes
2answers
3k 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 : ...
122
votes
5answers
91k 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. ...
120
votes
8answers
212k 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 ...
3
votes
4answers
6k 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 ...
24
votes
2answers
12k 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 (...
33
votes
4answers
43k 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, ...
3
votes
3answers
8k 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 ...
5
votes
1answer
991 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 ...
7
votes
2answers
10k 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, ...
2
votes
1answer
125 views

Invisible processes using all of system memory

I have a VPS (Ubuntu 14.04) with 512MB of RAM. This used to be quite enough, but for a while, this has been causing problems -- something is eating up all of that memory, and my debugging has left me ...
1
vote
1answer
2k views

Move WUBI installation of Ubuntu to a different partition in Windows

I don't have a lot of space on my D: drive and Ubuntu is taking 15 gigs of it so I wonder, is there a way of moving Ubuntu from D: to C: while keeping the files that exists on Ubuntu? Thanks
1
vote
2answers
10k views

How to increase JAVA Heap Size?

I need to increase the default java heap size to get OpenNMS Linkd service running smoothly, and fortunately I have 4/5 of my total installed memory free at any given time even when their is maximum ...
23
votes
3answers
16k 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 ...
4
votes
4answers
2k 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.
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 ...
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 ...
1
vote
5answers
2k views

How to log memory usage per minute on Ubuntu Server?

I checked few programs such as htop or top command but couldn't find any features for logging per minute. Is there a way to do that for tracking memory issues ? edit: I was using linode and decided ...
5
votes
2answers
4k 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) ...
2
votes
2answers
124 views

Why are memory statistics in top and htop different?

Whenever I use top and htop commands to see memory stats, they are always different as shown in figures. Which should I trust?
1
vote
1answer
1k views

Warning when available RAM approaches zero

This is a follow-up to Memory limiting solutions for greedy applications that can crash OS?: ulimit and cgroups are not user friendly, and besides, wouldn't work with applications that spawn separate ...
0
votes
2answers
19k views

What swapfile size to make? I have 4GB RAM [duplicate]

Very often I am out of memory and I noticed that I didn't have swapfile... What size should I choose? I have 4 RAM. All programs which I use are: Firefox, Thunderbird, Grive, Android Studio, that's ...
8
votes
4answers
7k 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 ...
10
votes
3answers
8k 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 ...
5
votes
1answer
3k views

How can I find the memory usage on my GPU?

Previously I was checking the memory usage on my GPU with the following command: nvidia-settings -q all | grep Memory I am processing some scientific data on my GPU with numpy and theano. I was ...
2
votes
1answer
117 views

How to move packages from the live image to a pool on the disc?

Currently I'm using UCK and trying to make Edubuntu 12.04.1 DVD launch installer on 256Mb RAM: How to install Edubuntu on a system with low memory (256 Mb)? I was reading release notes for 12.10 and ...
10
votes
1answer
292 views

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 ...
5
votes
2answers
10k 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
3answers
8k views

Why is my /dev/loop0 showing full?

I have sufficent memory , but somehow I get my /dev/loop0 showing usage of 9 GB here's my df-h. Filesystem Size Used Avail Use% Mounted on /dev/loop0 12G 10G 1.4G 88% / udev ...
3
votes
1answer
682 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 ...
2
votes
1answer
1k views

Memory is taken up by “invisible” threads

Xubuntu Saucy with 4GB RAM. When the computer is restarted and immediately after login, about 500 MB of RAM is taken according to free -m. Then I run some programs and memory usage goes above 3 GM. ...
2
votes
3answers
9k views

Chrome suddenly using too much memory, what's wrong?

I just upgraded my RAM to double what it used to have and for a couple of weeks everything was running great, but now Chrome is eating all of it, I hit 90% use with only one window and <50 tabs ...
1
vote
1answer
3k views

Ubuntu 14 too high memory usage [duplicate]

I had browse for this issue in the forums, but the answers I found are not concrete or refers to older version of ubuntu. I am using ubuntu 14 (3.13.0-35-generic #62-Ubuntu x86_64 x86_64 x86_64) ...
1
vote
1answer
645 views

How to stop excessive memory usage of unity-window-decorator? [closed]

I am using Ubuntu 11.04 on an AMD64 computer. When I boot the computer the memory usage of unity-window-decorator is few tens of MB (checked with System Monitor)c After many hours using Google Chrome, ...
0
votes
1answer
75 views

Memory usage by Java processes

I notices that applications use almost all memory on my ubuntu 14.04 server. Can you look into my htop screen and let me know whether this situation is normal? There are many processes for two ...
0
votes
1answer
2k 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 ...
-1
votes
1answer
181 views

Is this Ram usage normal?

My system is Ubuntu 13.04 64 bit + Unity and it uses ~600mb with no other processes-apps open and with preload 900mb, just the core system. Is this the expected amount? It seems a bit steep to me but ...