xmr-stak : MEMORY ALLOC FAILED: mmap failed

From the FAQ, here

sudo sysctl -w vm.nr_hugepages=128

add following lines to /etc/security/limits.conf:

* soft memlock 262144
* hard memlock 262144

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.