Skip to content
This repository was archived by the owner on Jan 7, 2024. It is now read-only.

Commit 9f5dd84

Browse files
committed
Set default for MEM_STARTUP/-Xms to 1024M as Unifi is using
1 parent 7f3163e commit 9f5dd84

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

readme-vars.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ available_architectures:
1818
opt_param_usage_include_env: true
1919
opt_param_env_vars:
2020
- { env_var: "MEM_LIMIT", env_value: "1024M", desc: "Optionally change the Java memory limit (-Xmx) (default is 1024M)." }
21-
- { env_var: "MEM_STARTUP", env_value: "512M", desc: "Optionally change the Java initial memory (-Xms) (default is 512M)." }
21+
- { env_var: "MEM_STARTUP", env_value: "1024M", desc: "Optionally change the Java initial memory (-Xms) (default is 1024M)." }
2222

2323
# Optional Block
2424
optional_block_1: true
@@ -79,7 +79,7 @@ app_setup_block: |
7979
8080
# changelog
8181
changelogs:
82-
- { date: "04.03.21:", desc: "Allow for changing Java initial mem via new optional environment variable."}
82+
- { date: "11.06.21:", desc: "Allow for changing Java initial mem via new optional environment variable."}
8383
- { date: "12.01.21:", desc: "Deprecate the `LTS` tag as Unifi no longer releases LTS stable builds. Existing users can switch to the `latest` tag. Direct upgrade from 5.6.42 (LTS) to 6.0.42 (latest) tested successfully."}
8484
- { date: "17.07.20:", desc: "Rebase 64 bit containers to Bionic and Mongo 3.6."}
8585
- { date: "16.06.20:", desc: "Add logrotate."}

root/etc/services.d/unifi/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if [ -z ${MEM_LIMIT+x} ]; then
77
fi
88

99
if [ -z ${MEM_STARTUP+x} ]; then
10-
MEM_STARTUP="512M"
10+
MEM_STARTUP="1024M"
1111
fi
1212

1313
exec \

0 commit comments

Comments
 (0)