Ad Code

Responsive Advertisement

Ticker

6/recent/ticker-posts

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

Report an error

Under Ubuntu, running elasticsearch reports an error:

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

solve

Sudo vi /etc/sysctl.conf
Add the following configuration
Vm.max_map_count = 655360
Then execute the command
Sudo sysctl -p
Finally, you can start ES.
Reference : 
Ubuntu elasticsearch最大虛擬內存區域vm.max_map_count [65530]太低,增加到le