Code: Select all
tool/bandwidth-test address=127.0.0.1 protocol=udp duration=10
tool/bandwidth-test address=127.0.0.1 protocol=udp duration=10
It might work on some architectures. I tested on RB2011 and 45 MB of the occupied space was freedMade no difference to me, tried on 4 boxes showing the memory 'leak' from v7.7
user@host:~$ free
total used free shared buff/cache available
Mem: 8112488 661356 129056 86436 7322076 7054776
.
I don't know which of these numbers (free or available) is actually reported by ROS.
MemTotal: 125700 kB
MemFree: 21820 kB
MemAvailable: 61752 kB
Buffers: 7764 kB
Cached: 36124 kB
.......
resolver heap memory
0042a000-01f3d000 rwxp 00000000 00:00 0 [heap]
Size: 28724 kB
MemTotal: 125700 kB
MemFree: 35772 kB
MemAvailable: 75764 kB
Buffers: 7764 kB
Cached: 36200 kB
..........
resolver heap memory
0042a000-012e0000 rwxp 00000000 00:00 0 [heap]
Size: 15064 kB
Unless MT is recommending such ideas, I would not recommend doing it....Hi guys. Due to the problem of memory leakage after updating to version 7.7 of the router OS, you can free up the device's memory without rebooting the router board with a simple trick. Just run the following script every 24 hours to free up memory space.
Good luckCode: Select alltool/bandwidth-test address=127.0.0.1 protocol=udp duration=10
.The script on itself is rather harmless. Just a bandwidth test on the local loopback port.
You should try it once. Very enlightening results come out of it