Increasing vm.max_map_count

To increase the vm.max_map_count

  1. Execute the command
    sudo sysctl -w vm.max_map_count=262144
  2. Verify the value using the command
    cat /proc/sys/vm/max_map_count