max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]

AWS/Amazon OpenSearch Service

  • situation

ERROR: [1] bootstrap checks failed [1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]

  • resolution

sysctl -a | grep vm.max_map_count
vm.max_map_count = 262144