Skip to content

Commit 3c7e7aa

Browse files
committed
set max heap size to 824MB
The machines recently ran out of heap space. This explicitly sets a heap limit. If we run out of heap space again, increase machine memory and heap space.
1 parent 6efc932 commit 3c7e7aa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

api/fly.toml

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ processes = []
1313
DOMAIN = "api.filspark.com"
1414
REQUEST_LOGGING = "false"
1515
NPM_CONFIG_WORKSPACE="api"
16+
# 1024MB available memory - 200MB for anything else
17+
NODE_OPTIONS="--max-old-space-size=824"
1618

1719
[experimental]
1820
auto_rollback = true

0 commit comments

Comments
 (0)