I have a strange error on my Raspberry Pi2. System is archlinuxarm.
Short after boot (about 30 secs), the system states that it is out of memory, resulting in closing many applications, most time till a kernel panic (Out of Memory but no killable processes). Strange thing is, that I deployed a 18GB Swap partition and the problem remains ( at least it should take more time to fill it). So I used free in these 30secs to monitor.
free -mws 0.5
The result is that there is about 70M used and the rest increasingly used for cache, which is afaik the normal behavior. Then, with reaching the ~30sec, free output slows down as if the system is in high load. Swap gets filled with about 40M, leaving the rest as it is. Here I would expect, that first cache is decreasing, before swap is used. Then the system starts killing processes, so that I can't monitor the memory anymore. In the statistics, that are readable while killing it still says that swap is nearly unused.
So It seems that the kernel doesn't frees up cache as it should and neither used swap at low memory.
Does everyone knows what is happening here.
P.S. After kernel-panic, kdb is entered, but I can't do anything, because the keyboard isn't working.
Sample dmesg/log output
Graph of non-constant output of