getting this failure too: [2018-04-08 19:40:39] : MEMORY ALLOC FAILED: mmap failed
I got the same error but could remoe that by following the FAQ
https://github.com/fireice-uk/xmr-stak/blob/master/doc/FAQ.mdSSH to the rig,
sudo su
mc -c
edit the files
reboot
-->no error
But in my case the error did not make a difference, it was mining the same before and after (9x GTX 1060 3GB).
/mnt/user/config.txt