aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2022-07-31 22:25:16 -0500
committerJP Dillingham <jpdillingham@gmail.com>2022-07-31 22:25:16 -0500
commitf38fce05915e26c194636fc66d136974ed2db9cd (patch)
tree738a513f21cd9141eaa7577d78f19d1e15f3a25e
parentb908e4fa3781768fc053415e45c3b80a026213ae (diff)
downloadslskd-f38fce05915e26c194636fc66d136974ed2db9cd.tar.gz
add additional GC envars, cap memory to 500mib
-rw-r--r--Dockerfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 97810cef..e705e515 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -51,6 +51,8 @@ HEALTHCHECK --interval=60s --timeout=3s --start-period=5s --retries=3 CMD wget -
ENV DOTNET_BUNDLE_EXTRACT_BASE_DIR=/var/tmp/.net \
DOTNET_gcServer=0 \
+ DOTNET_gcConcurrent=1 \
+ DOTNET_GCHeapHardLimit=1F400000 \
DOTNET_GCConserveMemory=9 \
SLSKD_HTTP_PORT=5000 \
SLSKD_HTTPS_PORT=5001 \