GL-AR750S memory leak?

Hi,
had the 750S slate on during the night and after a few hours of uptime without any activity the free memory is low. It seems the /www/api processes consumes lot of memory.

I’m running the 0906 3.0.3 testing version.

after boot:
root@GL-AR750S:~# free -h
total used free shared buffers cached
Mem: 124608 61892 62716 960 8688 23232
-/+ buffers/cache: 29972 94636
Swap: 0 0 0

after 10 hours of inactivity:
root@GL-AR750S:~# free -h
total used free shared buffers cached
Mem: 124608 95920 28688 960 8688 23232
-/+ buffers/cache: 64000 60608
Swap: 0 0 0

43

30MB is gone? I suspect that it does has leaks but they is too much. Are you keep the UI open?

I have a firefox tab with the ui open, but its been idling while I sleep.
Once also had the ui crash after long idle period.

Yup, the api process will consume lots of memory, as it loads all dynamic library to memory, it will account for 2%.

For your screenshot, it does have the memory leak.

@manderss99 Do you insert 4G modem?

yes, my huawei e3372 was connected, it connects as tethered

as an experiment I closed down all browsers and reboot and just let it sit idling.
Now it fared much better, memory went from 96m free to 87mb after 23h.

root@GL-AR750S:~# free -h
total used free shared buffers cached
Mem: 124608 63380 61228 384 8632 17652
-/+ buffers/cache: 37096 87512
Swap: 0 0 0
root@GL-AR750S:~# uptime
06:42:53 up 23:26, load average: 0.29, 0.25, 0.25

If you connect modem, it does memory leak. We have fixed it. Will upload it into testing folder.

Updated tp latest test version (13/9) but there still is a problem
its been sitting idle with a ff browser tab open to router.

root@GL-AR750S:~# free -h
total used free shared buffers cached
Mem: 124608 90040 34568 1436 9832 34776
-/+ buffers/cache: 45432 79176
Swap: 0 0 0
root@GL-AR750S:~#
root@GL-AR750S:~# uptime
20:33:46 up 7:10, load average: 0.88, 0.71, 0.76

26

from my testing it seems to leak if I leave a firefox tab which displays router home page open.

If I close the tab it seems to be stable in memory consumtion.

running 0914 testing version.

Thanks, we will investigate.

0926 testing version still leaks

Seems the memory leak is from modem module. We are working on the modem module in the following two weeks.

I have the Huawei E3372 which connects as tethered but maybe that uses the modem module anyway?

We found one memory leak on Tethering mode, but still debug and test it. Please wait.