From e75d5a0238f573c0cc8fe51622eef633f786ec8c Mon Sep 17 00:00:00 2001 From: Kevin Hahn Date: Tue, 2 Jul 2024 15:57:20 +0700 Subject: [PATCH] disable server garbage collection to reduce memory usage. Disable single file until https://github.com/sillsdev/icu-dotnet/pull/201 is merged. --- backend/LocalWebApp/LocalWebApp.csproj | 4 +++- backend/Taskfile.yml | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/backend/LocalWebApp/LocalWebApp.csproj b/backend/LocalWebApp/LocalWebApp.csproj index f103c49ab..9f2283f1b 100644 --- a/backend/LocalWebApp/LocalWebApp.csproj +++ b/backend/LocalWebApp/LocalWebApp.csproj @@ -6,9 +6,11 @@ enable Linux true + false - true + + false true false diff --git a/backend/Taskfile.yml b/backend/Taskfile.yml index c0e4637ae..591b295f4 100644 --- a/backend/Taskfile.yml +++ b/backend/Taskfile.yml @@ -107,6 +107,7 @@ tasks: - task: publish-local-win - task: publish-local-linux - task: publish-local-osx + - task: publish-local-osx-arm publish-local-win: dir: ./LocalWebApp deps: [ui:build-viewer-app] @@ -117,3 +118,6 @@ tasks: publish-local-osx: dir: ./LocalWebApp cmd: dotnet publish -r osx-x64 + publish-local-osx-arm: + dir: ./LocalWebApp + cmd: dotnet publish -r osx-arm64