Memory filling every one-two days - then crash

Hello. Can you please help me with this problem? Thanks.

Memory fulfilling every one-two days:

Kernel Version:5.4.110

Model:Xiaomi Redmi Router AC2100

Architecture:MediaTek MT7621 ver:1 eco:3

Firmware Version:OpenWrt SNAPSHOT r16753-b810d6

HTOP:

Well, based on your htop data, the netstinky package takes most of the ram ... 90% of your ram utilisation... Have you tried turning it off?

Yes I tried, it was that, but why? It only fills up after some time.

It would typically indicate a memory leak in the nsids binary. If it runs as a service then a restart via cron once or twice a day may keep it from crashing the device, but working with the developers to track down the leak would be a longer-term approach.

EDIT: I see the source code is on github. A half-decent developer should be able to track down the cause of memory usage by instrumenting the code, using valgrind, etc.

IanC