aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2022-07-31 22:41:26 -0500
committerGitHub <noreply@github.com>2022-07-31 22:41:26 -0500
commit39f3fd93a4d3c119aade7b3d8a6c58eb7938b853 (patch)
tree738a513f21cd9141eaa7577d78f19d1e15f3a25e /Dockerfile
parent0791bd27e6fc2986d8ad12b0bd7d797af92fc383 (diff)
parentf38fce05915e26c194636fc66d136974ed2db9cd (diff)
downloadslskd-39f3fd93a4d3c119aade7b3d8a6c58eb7938b853.tar.gz
Merge pull request #571 from slskd/memory
Tweak options related to garbage collection
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 6e5aabf9..e705e515 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -50,6 +50,9 @@ VOLUME /app
HEALTHCHECK --interval=60s --timeout=3s --start-period=5s --retries=3 CMD wget -q -O - http://localhost:${SLSKD_HTTP_PORT}/health
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 \