Page 1 of 1

RAM use

Posted: Wed Sep 18, 2019 8:52 pm
by alfred998
I have installed dude on an external sd card of a RB750Gr3 with 256MB of RAM. Normally the router has 217MB free but with dude enabled for a day or so, free RAM drops to 90-120MB. Is this to be expected ?
There is one network map with ~20 devices, SNMP, 4-5 services each. Links are configured for each device

Re: RAM use

Posted: Thu Sep 19, 2019 12:16 pm
by extelown
I think it is expected...

Re: RAM use

Posted: Thu Sep 19, 2019 6:08 pm
by alfred998
Can someone confirm with his system. Most Mikrotik routers have far less than 256M RAM, so how would they manage..

Re: RAM use

Posted: Thu Sep 19, 2019 6:32 pm
by chechito
Can someone confirm with his system. Most Mikrotik routers have far less than 256M RAM, so how would they manage..
there is mikrotik routerboard with 1gb, 2gb, 4gb, 8gb and 16gb of ram

if your scenario requires RAM you need a bigger device

normally if RB750Gr3 uses more than 100mb of ram surely you have more than 100 users, i think its deserves a more powerful device

consider Rb450GX4 with a CPU 2 times powerful than RB750Gr3, 4 times their ram memory, 32 times their onboard storage memory, almost the same form factor and power consumption

of course doubles the price, but fully justifies it with its characteristics

Re: RAM use

Posted: Fri Sep 20, 2019 7:07 pm
by alfred998
No as i said the RB750Gr3 normally uses around 40Mb of RAM without dude. Once dude is activated the router uses ~160MB of RAM out of its 256 total. Is this to be to be expected or is it my configuration ..

Re: RAM use

Posted: Sat Sep 21, 2019 1:46 pm
by andriys
Yes, I guess it is to be expected. Dude appears to be a heavy and resource-demanding service.

Re: RAM use

Posted: Tue May 26, 2020 4:41 pm
by alfred998
After observing this a bit longer, I think there is a memory leak in Dude.
Dude RAM.png
The first 12h after a reboot, RAM usage is almost constant. After that starts a sharp increase that tops at around 65% (of my 256MB) 2.5 days later. This happens when dude is active and is not affected by network activity