Skip to content

Commit

Permalink
#000 | Reduce Max memory for metabase to 2.5GB on 4 GB Ec2 instance
Browse files Browse the repository at this point in the history
  • Loading branch information
himeshr committed Dec 18, 2024
1 parent fb703fd commit 1f3b686
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reportingSystem/metabase/docker_run.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

```bash

docker run --name=metabase --hostname=ec44837f08b2 --mac-address=02:42:ac:11:00:02 --env=MB_DB_PASS=<dbpassword> --env=MB_PASSWORD_LENGTH=12 --env=MB_DB_HOST=<dbhostname> --env=JAVA_OPTS=-Xmx3g --env=JAVA_TIMEZONE=Asia/Kolkata --env=MB_DB_DBNAME=<database> --env=MB_DB_USER=<dbusername> --env=MB_JETTY_PORT=3000 --env=MB_PASSWORD_COMPLEXITY=strong --env=MB_DB_TYPE=postgres --env=MB_DB_PORT=5432 -p 3000:3000 --restart=always --log-opt max-size=10m --log-opt max-file=10 --runtime=runc --detach=true metabase/metabase:v0.50.31.4
docker run --name=metabase --hostname=ec44837f08b2 --mac-address=02:42:ac:11:00:02 --env=MB_DB_PASS=<dbpassword> --env=MB_PASSWORD_LENGTH=12 --env=MB_DB_HOST=<dbhostname> --env=JAVA_OPTS=-Xmx2560m --env=JAVA_TIMEZONE=Asia/Kolkata --env=MB_DB_DBNAME=<database> --env=MB_DB_USER=<dbusername> --env=MB_JETTY_PORT=3000 --env=MB_PASSWORD_COMPLEXITY=strong --env=MB_DB_TYPE=postgres --env=MB_DB_PORT=5432 -p 3000:3000 --restart=always --log-opt max-size=10m --log-opt max-file=10 --runtime=runc --detach=true metabase/metabase:v0.50.31.4
```

0 comments on commit 1f3b686

Please sign in to comment.