Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

fix(fly): raise heap limit to 4G per process

Gergo Moricz95c6c63b85f8
diff --git a/apps/api/fly.toml b/apps/api/fly.toml
index f7ef786f8..286bc086d 100644
--- a/apps/api/fly.toml
+++ b/apps/api/fly.toml
@@ -11,8 +11,8 @@ kill_timeout = '30s'
[build]
[processes]
- app = 'node dist/src/index.js'
- worker = 'node dist/src/services/queue-worker.js'
+ app = 'node --max-old-space-size=4096 dist/src/index.js'
+ worker = 'node --max-old-space-size=4096 dist/src/services/queue-worker.js'
[http_service]
internal_port = 8080