Memory Leaks in CCR2116

There’s this CCR 2116 router with 4G memory and more than 800 VPN connections (SSTP, PPTP, etc.). And its memory is always full every 3 days. Last time we rebooted it, it showed 600M memory has been used, but today the used memory hits to 3,8G.

How to fix this?

Btw, we use stable version 7.19.6

Seeing ROS use 95% of available memory is not wrong by itself. The big question is rather: does memory consumpion increase to 100% after which it reboots with appropriate log entry?

I'd recommend you to create a supout.rif file while memory usage is high but router still works. If it'll reboot due to memory exhaustion, open trouble ticket with MT support and attach the supout.rif file. This will largely improve chances gor MT devs to (finally) catch the bug.

And, FYI, 7.19.x used to be stable (when you installed it on your device). Since then, the 7.19 series was elevated to "long-term" and stable is 7.20. In Mikrotik world, "stable" is only an adjective to the version number and can change (or move between versions) without actual ROS getting changed by single bit.