1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Decreasing free memory

Discussion in 'Tomato Firmware' started by hpsmartyz, Oct 21, 2007.

  1. hpsmartyz

    hpsmartyz LI Guru Member


    the amount of free memory never seems to stop dropping down.
    At boot time I must have around 25% of free memory and two
    weeks after it looks like it is still dropping (slowly though).
    I am currently at ~15%.

    Bandwidth monitoring is enabled and logging also but only externally
    (sent to a NAS).

    Is this normal?
  2. mstombs

    mstombs Network Guru Member

    Do you have "count cache as free memory" ticked? The Linux OS will use as much 'free memory' as it can to cache files etc - but this should still be available to programs if they need it, so 'real free memory' not necessarily the same as 'unused memory'.
  3. hpsmartyz

    hpsmartyz LI Guru Member


    thanks for your answer.
    I do not have Count cache memory as free memory ticked.
  4. mstombs

    mstombs Network Guru Member

    I do have this ticked (its on the debugging screen)

    I have an old 32Mb wrt54gs v1.1 and seem to have lots of memory free at the moment

    Uptime	8 days, 06:48:14
    Total / Free Memory	30.03 MB / 21.71 MB (72.30%)
    If you start with 15Mb I expect your percentage to be appropriately smaller!

    If I ask the OS how much memory free (and what is using it) with the command "top" from Telnet I get:

    Mem: 13728K used, 17020K free, 0K shrd, 1324K buff, 4900K cached
    Which shows there is almost 5 Meg in the cache.
  5. azeari

    azeari LI Guru Member

    well like stated, if you wish to see the real free memory, tick the count cached memory thingy. (= anyway, other factors can influence it, such as your conntrack table.. however i don't think anyone of us here have experienced the router running out of memory during normal operations on stock firmware ^^

Share This Page