... | ... | @@ -20,7 +20,7 @@ For development purposes, it is sufficient to limit Elasticsearch to 1GB RAM. Yo |
|
|
-Xmx1g
|
|
|
```
|
|
|
|
|
|
Or as a one-time use command:
|
|
|
Or as a single command:
|
|
|
|
|
|
```sh
|
|
|
sudo echo -e "-Xms1g\n-Xmx1g" > /etc/elasticsearch/jvm.options.d/lowram.jvm.options"
|
... | ... | @@ -38,7 +38,7 @@ xpack.security.enabled: false |
|
|
Or as a one-time use command:
|
|
|
|
|
|
```sh
|
|
|
sudo echo -e "discovery.type: single-node\nxpack.security.enabled: false" > /etc/elasticsearch/elasticsearch.yml"
|
|
|
sudo echo -e "discovery.type: single-node\nxpack.security.enabled: false" >> /etc/elasticsearch/elasticsearch.yml"
|
|
|
```
|
|
|
|
|
|
Now, start/restart Elasticsearch with `sudo service elasticsearch restart` .
|
... | ... | |