paul-rogers commented on a change in pull request #11827: URL: https://github.com/apache/druid/pull/11827#discussion_r734206970
########## File path: docs/tutorials/docker.md ########## @@ -32,6 +32,13 @@ This tutorial assumes you will download the required files from GitHub. The file * [Docker](https://www.docker.com/get-started) +### Docker memory requirements + +The default `docker-compose.yml` launches eight containers: Zookeeper, PostgreSQL, and six Druid containers. Each Druid service is configured to use up to 7 GB of memory (6 GB direct memory and 1 GB heap). However, the Quickstart will not use all the available memory. + +Docker needs at least 6 GiB of memory available for the Druid cluster. If you experience any processes crashing with a 137 error code you likely don't have enough memory allocated to Docker. Review comment: Thanks for the edit! It seems that [On native Linux, Docker can use all available host memory](https://stackoverflow.com/questions/62649255/how-to-increase-check-default-memory-docker-has-on-linux). So the memory limit seems to be a MacOS thing. It can be adjusted using the [Docker Desktop](https://docs.docker.com/desktop/mac/) for mac. This is worth noting because when we're on Linux (Ubuntu) we will be happy as clams, but then we get slammed when we do the same thing on MacOS. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
