diff --git a/CHANGELOG.md b/CHANGELOG.md index d9b5bb986..ff5090ed0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Added a manually triggered cloud image release workflow for isolated internal deployments. [#1566](https://github.com/sourcebot-dev/sourcebot/pull/1566) +### Fixed +- Fixed the web process being capped at a ~4GiB heap regardless of how much memory the container has, which caused multi-second garbage collection pauses on larger deployments. [#1569](https://github.com/sourcebot-dev/sourcebot/pull/1569) + ## [5.1.6] - 2026-08-10 ### Added diff --git a/supervisord.conf b/supervisord.conf index 572136331..8d813004e 100644 --- a/supervisord.conf +++ b/supervisord.conf @@ -15,6 +15,7 @@ redirect_stderr=true [program:web] command=./prefix-output.sh node packages/web/server.js +environment=NODE_OPTIONS="--max-old-space-size-percentage=50" priority=20 autostart=true autorestart=true @@ -31,4 +32,4 @@ autorestart=true startretries=3 stdout_logfile=/dev/fd/1 stdout_logfile_maxbytes=0 -redirect_stderr=true \ No newline at end of file +redirect_stderr=true