You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 3, 2024. It is now read-only.
I saw you wrote this in README.md: sudo echo 'vm.max_map_count=262144' >> /etc/sysctl.conf (to persist reboots)
However, as far as I research,
You can't use sudo to affect output redirection; > and >> (and, for completeness, <) are effected with the privilege of the calling user, because redirection is done by the calling shell, not the called subprocess.
You can see more details in this question.
So I think the command should be: sudo sh -c 'echo "vm.max_map_count=262144" >> /etc/sysctl.conf'
Thank you.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi. Thanks for a really useful repository.
I saw you wrote this in
README.md
:sudo echo 'vm.max_map_count=262144' >> /etc/sysctl.conf
(to persist reboots)However, as far as I research,
You can see more details in this question.
So I think the command should be:
sudo sh -c 'echo "vm.max_map_count=262144" >> /etc/sysctl.conf'
Thank you.
The text was updated successfully, but these errors were encountered: