diff Sphinx/source/users/docker.rst @ 384:e4b0a4d69f42

note about memory usage
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 16 Apr 2020 12:13:49 +0200
parents 64b32cb19571
children 801db4e1828c
line wrap: on
line diff
--- a/Sphinx/source/users/docker.rst	Tue Apr 14 12:36:57 2020 +0200
+++ b/Sphinx/source/users/docker.rst	Thu Apr 16 12:13:49 2020 +0200
@@ -117,6 +117,12 @@
 
   $ docker run -p 4242:4242 -p 8042:8042 --rm -v /tmp/orthanc.json:/etc/orthanc/orthanc.json:ro jodogne/orthanc
 
+*Remark:* These Docker images automatically set the environment
+variable ``MALLOC_ARENA_MAX`` to ``5`` in order to :ref:`control
+memory usage <scalability-memory>`. This default setting can be
+overriden by providing the option ``-e MALLOC_ARENA_MAX=1`` when
+invoking ``docker run``.
+
 
 .. _docker-compose: