Memory Leak? (repost)
Samuel Flory
sflory at rackable.com
Wed May 5 21:05:11 UTC 2004
Yang Xiao wrote:
>
>
>
>
> -----Original Message-----
> *From:* Yang Xiao [mailto:yxiao at ohpp.com]
> *Sent:* Wednesday, May 05, 2004 3:08 PM
> *To:* For users of Fedora Core releases
> *Subject:* (no subject)
>
>
>
> Hi list,
>
> I'm running Fedora Core 1 with 512 MB RAM and 1 Ghz CPU.
>
> I noticed that even without any apps running, the machine seems to be
> using a lot of RAM and I can't figure out what and why.
>
> Here's the top output
>
> total 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 100.0%
> Mem: 513292k av, 352408k used, 160884k free, 0k shrd,
> 106080k buff
> 139380k active, 83000k inactive
> Swap: 1044216k av, 496k used, 1043720k free
> 112940k cached
>
>
You are using 112940k for cache hard drive reads. If you need
it linux will just free up the cache memory as the cached data on the
hard drive. In the minds of the linux kernel designers unused memory is
wasted memory. Remember that reading a file from ramis many times
faster than the drive.
> I suppose cached/buffered memory are "free" because free gives the
> following output
>
>
>
> total used free shared buffers cached
> Mem: 501 344 157 0 103 110
> -/+ buffers/cache: 130 371
> Swap: 1019 0 1019
>
> but still, what's using 130 MB of RAM ?
>
Try typing M in top.
More information about the fedora-list
mailing list