Please also check this thread about lowmemorykiller (or lmkd):
Short version: /sys/module/lowmemorykiller/parameters/minfree contains ridiculously high free memory limits (and setting a higher swappiness helps a bit too).
@jovirkku There are logs and a logging command, too.