0 votes
1 view
in AWS by (19.2k points)

I'm trying to run Elastic search in an Ubuntu EC2 machine (t2.medium).

But I'm getting the message:

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

How can I increase the vm.max_map_count?

1 Answer

0 votes
by (44.6k points)

Add this line to make it more persistent:


To reload the configuration with this new value, in your /etc/sysctl.conf, run this:

$ sudo sysctl -p

Welcome to Intellipaat Community. Get your technical queries answered by top developers !