XDHi there,
I've been keeping an eye on this thread as I was getting sporadic reboots on my AX86S running 388.1, I went back to 386_7.2 in the end.
I've recently loaded the latest beta - 388.2_beta1, The router runs with about 32MB free mem, it has a 2Gb swap file but I've never seen it used.
It's been running for a couple of days now without problems, but I've just noticed that the files in /tmp/.diag seem to have some kind of garbage collection going on.
I don't know if it's size-based or a regular job but stainfo.db, for example, seems to grow to around 1600000 before getting chopped down to around 800000.
Maybe ASUS stole your idea?
Sorry for the late response, I haven't been tracking this thread as of late figuring that the issues I was having have been satisfactorily (however temporarily) resolved until a more permanent/official solution was released. In terms of ASUS, even at the time of people posting scripts in this thread to mitigate the issues, ASUS had a fix for a different model, we were just waiting for them to release it upstream for our model and for the necessary time for it to be merged into RMerlin's firmware and tested.
I am heartened that it appears this has happened in the beta, and am excited for it to be GA!