Error: Docker max virtual memory areas vm.max_map_count 65530 is too low increase to at least
If you may get an error max virtual memory areas vm.max_map_count 65530 is too low increase to at least when execute the SonarQube or Elastic Search in docker container in Linux instance,
You need to increase the max_map_count the value in Kernel paramenter that would avoid running out of map areas for the Vector Server process. Memory map areas are used as a side-effect of calling malloc, directly by mmap, mprotect, and madvise, and also when loading shared libraries and the default value is 65536.
We have few more options to set the value in your Linux machine for both CentOS and Ubuntu,
Can update the value to max_map_count file directly using the command below,
or execute the command below,
reload the configuration settings as root user,