Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Add an explanation for oddly large integer memory limit

Dhruv Bhanushali5da306f6d82e
diff --git a/docker-compose.yml b/docker-compose.yml
index 8293637a3..2941d028d 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -47,7 +47,7 @@ services:
# Memory limit for ES, as it tends to be a memory hoarder
# Set this value to an empty string to remove the limit
# https://docs.docker.com/compose/compose-file/compose-file-v2/#cpu-and-other-resources
- mem_limit: ${ES_MEM_LIMIT:-4294967296}
+ mem_limit: ${ES_MEM_LIMIT:-4294967296} # 4 GiB in bytes
web:
build: openverse_api/