You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Railway deployments are failing with FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory during container startup. The container crashes ~38 seconds after starting, before the gateway can accept connections.
Root Cause
The Docker build compiles clawdbot from source (pnpm build and pnpm ui:build), which creates a large runtime that can exceed Railway's default memory limits (512MB on free tier, 1GB on starter).
Proposed Solution
Update the README with:
Minimum Requirements Section
Recommended memory: 2GB+
Railway tier recommendation: Hobby plan or higher
Troubleshooting Section
Add entry for OOM errors with fixes:
Problem
Railway deployments are failing with
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memoryduring container startup. The container crashes ~38 seconds after starting, before the gateway can accept connections.Root Cause
The Docker build compiles clawdbot from source (
pnpm buildandpnpm ui:build), which creates a large runtime that can exceed Railway's default memory limits (512MB on free tier, 1GB on starter).Proposed Solution
Update the README with:
Minimum Requirements Section
Troubleshooting Section
Add entry for OOM errors with fixes:
Known Issues
Related
Scavenge 472.2 (486.6) -> 471.7 (487.4) MB, pooled: 0 MBThis would help users avoid frustration and provide clear solutions when they hit memory limits.