Find the answer to your Linux question:
Results 1 to 7 of 7
Hello, In the first hour that I boot linux, i notice that my physical used RAM is up to 185MB. But after some hours i noticed that my ram is ...
  1. #1
    Just Joined!
    Join Date
    Jun 2009
    Posts
    21

    My RAM gets higher and higer

    Hello,

    In the first hour that I boot linux, i notice that my physical used RAM is up to 185MB.
    But after some hours i noticed that my ram is up to 360MB. So i close all the program, and saw
    that my ram is still like 340MB. Why isn't it back to +- 185MB? Do I sometimes have to run a garbadge collector or something like that?

    P.S. 185MB at the beginning is that, high;low; or normal for linux (fedora 11)

    Thanks

  2. #2
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    Memory doesn't work the same way in Linux or Unix-like systems as it does in Windows. It is considered a bad thing to have memory sitting unused so while it is "free" it is used for application caching. A well configured system should use 85-90% of RAM under normal usage. Cache will be freed as required by "real" needs.

    Interestingly since Vista, Microsoft now take this approach also, which is why some people incorrectly say that Vista memory requirements are very high. It is simply a misunderstanding on how memory is managed.

  3. #3
    Linux User vickey_20's Avatar
    Join Date
    Mar 2009
    Location
    Mumbai, India
    Posts
    493
    where did u see the memory usage ?
    Only if I could understand the man pages
    Registered Linux user #492640
    OS: RHEL4,5 ,RH 9,Ubuntu

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Execute top and free commands to check memory usage.
    htop is bit better than top command but its not pre-installed in most of distros. Install htop using package manager of your distro and execute htop command in Terminal.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Linux User vickey_20's Avatar
    Join Date
    Mar 2009
    Location
    Mumbai, India
    Posts
    493
    do these command read the file /proc/meminfo and /proc/cpuinfo
    Only if I could understand the man pages
    Registered Linux user #492640
    OS: RHEL4,5 ,RH 9,Ubuntu

  6. #6
    Just Joined!
    Join Date
    Jun 2009
    Posts
    21
    Ok thanks for summary of ram use in linux/unix.
    I saw my ram space in a gui programe of gnome. It is called system monitor.

  7. #7
    Just Joined!
    Join Date
    Jun 2009
    Posts
    21
    Hey I downloaded the htop command, nice tool.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...