diff --git a/libretranslate/docker-compose.yml b/libretranslate/docker-compose.yml
index 2cd06a5..e33247b 100644
--- a/libretranslate/docker-compose.yml
+++ b/libretranslate/docker-compose.yml
@@ -9,7 +9,7 @@ services:
     tty: true
     healthcheck:
       test: ['CMD-SHELL', './venv/bin/python scripts/healthcheck.py']  
-    mem_limit: 1g   
+    mem_limit: 2g   
     ## Uncomment above command and define your args if necessary
     command: --ssl --ga-id MY-GA-ID --req-limit 100 --char-limit 500
     ## Uncomment this section and the libretranslate_api_keys volume if you want to backup your API keys
diff --git a/linkwarden/docker-compose.yml b/linkwarden/docker-compose.yml
index 84e0866..16367ff 100644
--- a/linkwarden/docker-compose.yml
+++ b/linkwarden/docker-compose.yml
@@ -3,6 +3,7 @@ services:
     image: postgres:16-alpine
     env_file: .env
     restart: always
+    mem_limit: 256m  
     volumes:
       - ./pgdata:/var/lib/postgresql/data
   linkwarden: