← Back to team overview

ubuntuforums-unanswered team mailing list archive

Re: [Question #76845]: Memory leaks is happening in my machine. How to solve this

 

Question #76845 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/76845

    Status: Open => Answered

actionparsnip proposed the following answer:
Just run the command

top

and watch

RAM in ubuntu is used as disk cache to speed things up. There is no
point having RAM if yuo are not using it so Ubuntu will use it to speed
up disk access by caching data.

Here's mine:

top - 11:05:07 up 13 days,  7:35,  4 users,  load average: 0.01, 0.05, 0.01
Tasks: 106 total,   1 running, 105 sleeping,   0 stopped,   0 zombie
Cpu(s):  3.5%us,  1.5%sy,  0.0%ni, 94.4%id,  0.6%wa,  0.1%hi,  0.0%si,  0.0%st
Mem:    881704k total,   863780k used,    17924k free,    17720k buffers
Swap:  2000052k total,      720k used,  1999332k free,   438676k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 3428 andy      20   0  318m  23m 3408 S  2.0  2.8 418:22.47 transmission
16733 andy      20   0 18980 1208  900 R  2.0  0.1   0:00.01 top
    1 root      20   0  4100  532  248 S  0.0  0.1   0:00.99 init
    2 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kthreadd
    3 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 migration/0
    4 root      15  -5     0    0    0 S  0.0  0.0   0:26.64 ksoftirqd/0
    5 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 watchdog/0
    6 root      15  -5     0    0    0 S  0.0  0.0   0:02.08 events/0
    7 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 khelper
    8 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 kstop/0
    9 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kintegrityd/0
   10 root      15  -5     0    0    0 S  0.0  0.0   0:00.65 kblockd/0
   11 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kacpid
   12 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kacpi_notify
   13 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 cqueue
   14 root      15  -5     0    0    0 S  0.0  0.0   1:30.15 ata/0
   15 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 ata_aux

                   total       used       free     shared    buffers     cached
Mem:           861        405        455          0          0             15
-/+ buffers/cache:        389        471
Swap:         1953          0       1952

Not bad for Ubuntu + LXDE + (Transmission + http interface) + Samba +
(VLC + http interface)

=D

-- 
You received this question notification because you are a member of UF
Unanswered Posts Team, which is an answer contact for Ubuntu.