Skip to content

Commit c7f1407

Browse files
DU-dspugnascotia
authored andcommitted
add jvm clarification (#57460)
Emphasise in the Docker documentation that although the default heap size is 1GB, the docker-compose.yml example specifies 512MB.
1 parent 025682d commit c7f1407

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/reference/setup/install/docker.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ method, you can also configure this by using the `ES_JAVA_OPTS` environment
283283
variable to set the heap size. For example, to use 16 GB, specify
284284
`-e ES_JAVA_OPTS="-Xms16g -Xmx16g"` with `docker run`. Note that while the
285285
default root `jvm.options` file sets a default heap of 1 GB, any value you set
286-
in `ES_JAVA_OPTS` will override it.
286+
in `ES_JAVA_OPTS` will override it. The `docker-compose.yml` file above sets the heap size to 512 MB.
287287

288288
IMPORTANT: You must <<heap-size,configure the heap size>> even if you are
289289
https://docs.docker.com/config/containers/resource_constraints/#limit-a-containers-access-to-memory[limiting

0 commit comments

Comments
 (0)