Free memory is shrinking

I’ve noticed that free system memory (as reported by the ‘free’ command) decreases by about 6Mb per hour. I suspect that once it crosses some minimum amount the system will reboot. This seems like some sort of anomaly. Is this typical and expected?

Quite standard. See some explanation here: http://forum.micasaverde.com/index.php/topic,47176.msg312736.html#msg312736

Garbage collection runs from time to time and frees it up. Free memory is not necessarily all that is available to the system.

Typically memory is cleaned every couple of hours, but sometimes the clearing process doesn’t work for some reason.
If your free memory is continuously decreasing ad don’t go up from time to time, you may need to perform clearing manually putting following code into the test lua window:

os.execute("echo 3 > /proc/sys/vm/drop_caches")

If problem persist, you can also design a scene to run periodically and check your memory - then if the clearing is needed, perform the maintenance.
Here is my post where I describe how to do it:
http://forum.micasaverde.com/index.php/topic,57870.msg348709.html#msg348709

It seems that Lua is garbagecollecting about every 4 to 6 minutes which is good. Doing os.execute(“echo 3 > /proc/sys/vm/drop_caches”) does free up memory again.
I’ll probably create a scene to do this periodically.
Thanks for the tip.