High memory usage

Hello,
I’m using RB750Gr3 with RouterOS v6.47.8.I see memory usage grows continuously during uptime. Features I use on the device:

  • IPSec over GRE
  • Static routing (5 entries)
  • DHCP server
  • DNS with 5 static A entries and DoH enabled
  • Firewall/NAT masquerade

After a month of uptime there is less than 15% of free memory. I tried some common tricks like clearing log and disabling unused packages but it didn’t help. Any advices?

Same here, hap ac lite2, if DoH enabled, memory starts to fill, and after there was no RAM left, MikroTik began to work unstable, the web interface and winbox became unavailable. If i turn off DoH - memory returns.

daily.gif
weekly.gif

I got same problem, my router using CCR1009. Any update to solved this ?
Memory Usage CCR.png

If you use DoH uncheck Verify DoH Certificate. This should solve the issue until MT fixes the issue.

Thanks

You should use certificate.
Problem is the DOH provider you do use.
After change to https://dns.nextdns.io/dns-query memory problem did go away.

How if I not use DoH? what need to check ?
I try downgrade to Long Term firmware, but still get same result.

How long does it take the memory to get full? How many devices at LAN side?

Connection tracking can consume a lot of memory, but it normally releases it as the connection ends, so if it takes more than a day for the memory to get exhausted, it should not be the reason. If it’s less than a day, broken TCP connections can survive for next 24 hours so it could be your traffic pattern that causes the memory to get exhausted.

5 - 6 days to take memory until full and restart. And about 50 device connected in LAN.
My Router also as openVPN server

Fixed in 7.1. 2 days testing - no memory leaking. Device - hEX.

Memory leak is still with v7.1.5 (stable)
Edited:
I disabled the LTE interface and memory growth is gone.