Not at this stage. Having memory usage increase over time is expected, as the router is running a number of services. dnsmasq has its own cache, the DPI engine will also generate internal databases, the networkmap will increase its internal list of known clients, etc... Any further debugging would require a lot of work, something not worth doing at this stage unless routers actually DO run out of memory, confirming that there is really a leak worth investigating, and not just some normal increased memory usage.
What makes me doubt that there is really a memory leak is the fact that you experienced the same thing with numerous past firmware releases, some of which have shown to be stable enough for people to reach multiple weeks of uptime. I myself reached three weeks uptime during the Holidays, and my router's free memory was still normal.
I think I have found the leak/cache that is using up the memory. After the discussion with highwire I thought about disabling the OpenVPN server since it was the only difference I had with his configuration and behold for 5h the memory usage has not increased at all. As soon as I disabled OpenVPN it froze at 68-72 MB.
Then I re-enabled OpenVPN and did the ps command. I noticed the client was refreshed every 1h so I check the memory without the client connected, after the first connection and 1h later. Noticed the memory is growing... Here are the results:
After OpenVPN server enabled, but with no client connected:
7768 42
4112 S /etc/openvpn/vpnserver1 --cd /etc/openvpn/server1 --
7770 42 4016 S /etc/openvpn/vpnserver1 --cd /etc/openvpn/server1 --
OpenVPN server enabled, but just after client connected:
7768 42
4396 S /etc/openvpn/vpnserver1 --cd /etc/openvpn/server1 --
7770 42 4016 S /etc/openvpn/vpnserver1 --cd /etc/openvpn/server1 --
OpenVPN server enabled, after the first client refresh (basically one hour later):
7768 42
4476 S /etc/openvpn/vpnserver1 --cd /etc/openvpn/server1 --
7770 42 4016 S /etc/openvpn/vpnserver1 --cd /etc/openvpn/server1 --
After a disconnect/connect of the OpenVPN client:
7768 42
4716 S /etc/openvpn/vpnserver1 --cd /etc/openvpn/server1 --
7770 42 4016 S /etc/openvpn/vpnserver1 --cd /etc/openvpn/server1 --
I have noticed that in version 2.3.9 of OpenVPN multiple memory leaks have been fixed (
https://community.openvpn.net/openvpn/wiki/ChangesInOpenvpn23). The firmware (378.56_2) I am having has OpenVPN version 2.3.8. I will update to version 380.58 which includes version OpenVPN 2.3.10 and see how that goes.