OpenWrt 19.07.4 - Archer C50v4 - Memory available decreasing

I've been checking the router and for now it is stable except the total available ram decreases on LuCI.
Today, it is at 8.86mb, a few days ago it was roughly ~ 10-11mb.

I've tried to find if there was a memory leak, but found nothing wrong.

Strangely, when using free or top, it doesn't seems to be calculated like LuCI ?
Will the router do a memory issue after some time or it looks to be stable ?

Top:

Free:

df -h
dfh

For testing, tried flashing again (not keeping settings) and rebooted.

On boot, the memory available is at 27~28mb. This morning, it is around 26.50mb.

It is a plain version, 19.07.4 branch / patch for MT76 kernel to accept mt7600 / commit revert on mtk_soc_eth.c

Things can be cached/buffered to increase efficiency. This will reduce the available memory. When needed the memory can be claimed back. You can clean the page cache manually with sync; echo 1 > /proc/sys/vm/drop_caches

Yeah, that does the trick. Thank you!

I'll just do this when the memory available is lower than ~5 mb just in case.
If it goes to 0mb, would it do some issues or it is an expected behavior ?

If some application requires more memory, the buffered/cached will be purged automatically.
You could run it as cronjob daily if it makes you feel better, or you can forget it.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.