3
votes
4answers
107 views

What is using memory? [closed]

According to htop and free, the machine I'm looking at is currently at 6631 / 11907 MB of RAM. That's more or less half of the RAM available. However when I sort top or htop by MEM%, the most memory ...
1
vote
1answer
65 views

Virtual Memory Usage Exceeding Physical Drive Space

I have a machine running Ubuntu on Amazon EC2. The machine has a 43 Gb root drive and 30 Gb of RAM. I am running a processor and memory intensive process and I've noticed that it sometimes stalls for ...
0
votes
1answer
39 views

How to display `top` results sorted by memory usage in real time?

How can I display the top results in my terminal in real time so that the list is sorted by memory usage?
1
vote
0answers
27 views

About the usage of Memory in a linux server [duplicate]

I find my server's memory usage is so high, part of the output of command free is shown below: total used free shared buffers cached Mem: 82446460 81961412 ...
3
votes
1answer
37 views

program executing for 2 days

I have a java program which implements the Hungarian algorithm. I made changes to the existing code in such a way that the input is read from file. I have a pretty huge input around 32,000 rows for ...
12
votes
4answers
5k views

How to display meminfo in megabytes in top?

Sometimes it is not comfortable to see meminfo in kilobytes while you have several gigs of RAM. In Linux it looks like that: And here is how it looks in Mac OS X: Is there a way to display ...
2
votes
3answers
95 views

when awake from hibernate, will the VIRT column of top command show the swap space used by process?

top - 10:43:31 up 8 days, 1:28, 4 users, load average: 0.72, 0.57, 0.44 Tasks: 180 total, 1 running, 177 sleeping, 0 stopped, 2 zombie %Cpu(s): 8.9 us, 2.1 sy, 0.0 ni, 88.9 id, 0.0 wa, ...
1
vote
1answer
225 views

What's using all of the memory in my VM? It's not the disk cache

I have an issue where when I try to build a really large project, my machine starts swapping (several GB) even though there's plenty of memory (14 GB in fact). When I run free, it shows that it's not ...
1
vote
1answer
2k views

htop reporting much higher memory usage than free or top

The following three outputs were taken essentially simultaneously: top: top - 02:54:36 up 2 days, 13:50, 3 users, load average: 0.05, 0.05, 0.09 Tasks: 181 total, 1 running, 179 sleeping, 0 ...
3
votes
2answers
453 views

Memory management, bias to swapping

I was having 768 MB RAM. In a general day MySQL was using 100-180 mb of RAM and MySQL was swapping 80-120 mb. I was having 50-60 mb free RAM. So I thought I should upgrade. Then I upgraded my RAM ...
2
votes
1answer
569 views

Which processes swaps memory

I can see swap's total, used, free etc. sizes from top command. But I can't figure out which process uses swap, is it possible to find out swap memory by process? I'm running CentOS 6.3.
2
votes
2answers
1k views

Find the PID of top CPU/MEM usage, save to a shell variable

Is there any way to get the PID of the top CPU/MEM usage, I need to use that in a script, top command doesn't seem to work for it.
1
vote
2answers
3k views

free / top difference. Does free show virtual memory?

free -m shows me the following in my system: total used free shared buffers cached Mem: 3954 3842 111 0 248 2585 -/+ ...
8
votes
2answers
931 views

How to find out how much memory a program taking

I use htop to watch my processes, but most of services ran are multi threaded, so they are shown on several lines with a % of memory use which in some cases is the same for all, sometimes it varies ...
25
votes
5answers
43k views

How to find which processes are taking all the memory?

I'm looking for somthing like top is to CPU usage. Is there a command line argument for top that does this? Currently, my memory is so full that even 'man top' fails with out of memory :)