Openwrt not freeing memory. OS crash

OpenWrt on Wavlink wl-wn570HA1
While not using the ssh connection the memory keeps on being filled.
No ssh command sent other than, date and free, nor is Luci being used.

root@www:~# free
              total        used        free      shared  buff/cache   available
Mem:          60020       19892       32944          48        7184       25056
Swap:             0           0           0

after 20 minutes or so.

root@www:~# free
              total        used        free      shared  buff/cache   available
Mem:          60020       48156       10348          48        1516           0
Swap:             0           0           0

root@www:~# free
-ash: can't fork: Out of memory

and so on till it crashes.

Why?

Run 'top' to see which process is using all that memory.

Mem: 25024K used, 34996K free, 240K shrd, 2372K buff, 6628K cached
CPU:  10% usr  14% sys   0% nic  75% idle   0% io   0% irq   0% sirq
Load average: 0.30 0.40 0.19 1/38 1954
  PID  PPID USER     STAT   VSZ %VSZ %CPU COMMAND
  456     2 root     IW       0   0%  10% [kworker/0:2]
  718     1 root     S     2104   3%   3% /sbin/rpcd -s /var/run/ubus.sock -t 30
  439     1 root     S     1228   2%   1% /sbin/ubusd
 1946  1778 root     R     1212   2%   1% top
 1599     1 root     S     1780   3%   0% /usr/sbin/hostapd -s -P /var/run/wifi-phy0.pid -B /var/run/hostapd-phy0.con
 1765   814 root     S     1148   2%   0% /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p 22 -K 300 -T 3
  191     2 root     IW       0   0%   0% [kworker/u2:2]
  966     1 root     S     1348   2%   0% /usr/sbin/uhttpd -f -h /www -r www.pose.cafe -x /cgi-bin -t 60 -T 30 -k 20
    7     2 root     SW       0   0%   0% [ksoftirqd/0]
  206     2 root     SW       0   0%   0% [spi0]
  869     1 root     S     1676   3%   0% /sbin/netifd
    1     0 root     S     1568   3%   0% /sbin/procd
  903     1 root     S     1448   2%   0% /usr/sbin/odhcpd
  781     1 dnsmasq  S     1344   2%   0% /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf.cfg01411c -k -x /var/run/dnsmasq
  687     1 root     S     1248   2%   0% /sbin/logd -S 64
 1778  1765 root     S     1220   2%   0% -ash
  814     1 root     S     1080   2%   0% /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p 22 -K 300 -T 3
  458     1 root     S     1028   2%   0% /sbin/urngd
  440     1 root     S      924   2%   0% /sbin/askfirst /usr/libexec/login.sh
  137     2 root     IW       0   0%   0% [kworker/0:1]

I finnally found out what was causing the problem.
wlan1 is configured as mesh. When stopped the memory is freed.
root@www:~# cat /etc/config/wireless

config wifi-device 'radio0'
        option type 'mac80211'
        option hwmode '11g'
        option path 'platform/10300000.wmac'
        option htmode 'HT40'
        option country 'JP'
        option txpower '18'
        option noscan '1'
        option legacy_rates '0'
        option channel 'auto'

config wifi-iface 'default_radio0'
        option device 'radio0'
        option mode 'ap'
        option encryption 'none'
        option ssid 'www.pose.cafe-2.4G'
        option disassoc_low_ack '0'
        option network 'lan'

config wifi-device 'radio1'
        option type 'mac80211'
        option hwmode '11a'
        option path 'pci0000:00/0000:00:00.0/0000:01:00.0'
        option htmode 'VHT80'
        option legacy_rates '0'
        option country 'DE'
        option channel '44'
        option disabled '1'

config wifi-iface 'wifinet1'
        option encryption 'none'
        option device 'radio1'
        option network 'lan'
        option mesh_rssi_threshold '0'
        option mode 'mesh'
        option mesh_fwding '1'
        option mesh_id 'pose.cafe.ms'
        option disassoc_low_ack '0'
        option disabled '1'

Why is this?