I want to increase the number of total for each index,is it by vm. max_map_count?

Basically, i 've got two indexes referring to swiss news in french and German, i noticed that i have some documents of each language about 200 ,it is a small size,before i added a new index in German , i had for french index about 4000 documents.

The point is i need to increase the virtual memory ot have at the same time french and german index by using this command line

sudo sysctl -w vm.max_map_count=262144 and now i move to 800000 to run those indexes

if i make a print on logs for docker-compose,here we go

elasticsearch_1 | [2019-07-22T08:55:48,094][WARN ][o.e.c.r.a.DiskThresholdMonitor] [GJwUVFz] high disk watermark [90%] exceeded on [GJwUVFzAQYGs9fGNB4_34w][GJwUVFz][/usr/share/elasticsearch/data/nodes/0] free: 2.9gb[6.2%], shards will be relocated away from this node
elasticsearch_1 | [2019-07-22T08:55:48,094][INFO ][o.e.c.r.a.DiskThresholdMonitor] [GJwUVFz] rerouting shards: [high disk watermark exceeded on one or more nodes]
elasticsearch_1 | [2019-07-22T08:56:18,095][WARN ][o.e.c.r.a.DiskThresholdMonitor] [GJwUVFz] high disk watermark [90%] exceeded on [GJwUVFzAQYGs9fGNB4_34w][GJwUVFz][/usr/share/elasticsearch/data/nodes/0] free: 2.9gb[6.2%], shards will be relocated away from this node
elasticsearch_1 | [2019-07-22T08:56:48,107][WARN ][o.e.c.r.a.DiskThresholdMonitor] [GJwUVFz] high disk watermark [90%] exceeded on [GJwUVFzAQYGs9fGNB4_34w][GJwUVFz][/usr/share/elasticsearch/data/nodes/0] free: 2.9gb[6.2%], shards will be relocated away from this node
elasticsearch_1 | [2019-07-22T08:56:48,107][INFO ][o.e.c.r.a.DiskThresholdMonitor] [GJwUVFz] rerouting shards: [high disk watermark exceeded on one or more nodes]
elasticsearch_1 | [2019-07-22T08:57:18,109][WARN ][o.e.c.r.a.DiskThresholdMonitor] [GJwUVFz] high disk watermark [90%] exceeded on [GJwUVFzAQYGs9fGNB4_34w][GJwUVFz][/usr/share/elasticsearch/data/nodes/0] free: 2.9gb[6.2%], shards will be relocated away from this node
elasticsearch_1 | [2019-07-22T08:57:48,110][WARN ][o.e.c.r.a.DiskThresholdMonitor] [GJwUVFz] high disk watermark [90%] exceeded on [GJwUVFzAQYGs9fGNB4_34w][GJwUVFz][/usr/share/elasticsearch/data/nodes/0] free: 2.9gb[6.2%], shards will be relocated away from this node
elasticsearch_1 | [2019-07-22T08:57:48,110][INFO ][o.e.c.r.a.DiskThresholdMonitor] [GJwUVFz] rerouting shards: [high disk watermark exceeded on one or more nodes]
elasticsearch_1 | [2019-07-22T08:58:18,112][WARN ][o.e.c.r.a.DiskThresholdMonitor] [GJwUVFz] high disk watermark [90%] exceeded on [GJwUVFzAQYGs9fGNB4_34w][GJwUVFz][/usr/share/elasticsearch/data/nodes/0] free: 2.9gb[6.2%], shards will be relocated away from this node
elasticsearch_1 | [2019-07-22T08:58:48,114][WARN ][o.e.c.r.a.DiskThresholdMonitor] [GJwUVFz] high disk watermark [90%] exceeded on [GJwUVFzAQYGs9fGNB4_34w][GJwUVFz][/usr/share/elasticsearch/data/nodes/0] free: 2.9gb[6.2%], shards will be relocated away from this node
elasticsearch_1 | [2019-07-22T08:58:48,114][INFO ][o.e.c.r.a.DiskThresholdMonitor] [GJwUVFz] rerouting shards: [high disk watermark exceeded on one or more nodes]
elasticsearch_1 | [2019-07-22T08:59:18,115][WARN ][o.e.c.r.a.DiskThresholdMonitor] [GJwUVFz] high disk watermark [90%] exceeded on [GJwUVFzAQYGs9fGNB4_34w][GJwUVFz][/usr/share/elasticsearch/data/nodes/0] free: 2.9gb[6.2%], shards will be relocated away from this node
elasticsearch_1 | [2019-07-22T08:59:48,117][WARN ][o.e.c.r.a.DiskThresholdMonitor] [GJwUVFz] high disk watermark [90%] exceeded on [GJwUVFzAQYGs9fGNB4_34w][GJwUVFz][/usr/share/elasticsearch/data/nodes/0] free: 2.9gb[6.2%], shards will be relocated away from this node

the question is how can i build some indexes without have any problem related to virtual memory???and i need to increase the size fro each index(how many documents we have(total))

Thank you for you help Elastic community,let's share this topic!