Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
in AWS by (19.1k 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.4k 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

Related questions

Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

0 votes
1 answer
0 votes
1 answer

Browse Categories