Skip to content
Snippets Groups Projects
Unverified Commit fc9d30b5 authored by Steve Swinsburg's avatar Steve Swinsburg Committed by GitHub
Browse files

Update FAQ.md

Add info about sysctl.conf so that the settings are preserved.
parent 2ae7260b
No related branches found
No related tags found
No related merge requests found
...@@ -40,13 +40,18 @@ Download and install this [runtime package](https://go.microsoft.com/fwlink/?Lin ...@@ -40,13 +40,18 @@ Download and install this [runtime package](https://go.microsoft.com/fwlink/?Lin
## Error: MEMORY ALLOC FAILED: mmap failed ## Error: MEMORY ALLOC FAILED: mmap failed
On Linux you will need to configure large page support `sudo sysctl -w vm.nr_hugepages=128` and increase your On Linux you will need to configure large page support and increase your ulimit -l.
ulimit -l. To do this you need to add following lines to /etc/security/limits.conf:
To set large page support, add the following lines to /etc/sysctl.conf:
vm.nr_hugepages=128
To increase the ulimit, add following lines to /etc/security/limits.conf:
* soft memlock 262144 * soft memlock 262144
* hard memlock 262144 * hard memlock 262144
Save file. You WILL need to log out and log back in for these settings to take affect on your user (no need to reboot, just relogin in your session). You WILL need to log out and log back in for these settings to take affect on your user (no need to reboot, just relogin in your session).
You can also do it Windows-style and simply run-as-root, but this is NOT recommended for security reasons. You can also do it Windows-style and simply run-as-root, but this is NOT recommended for security reasons.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment