Imprevista

Deploy Log

← Back to Deploy Log
|Sports Dashboard|DEPLOYED

Fix factorial OOM: add --lean mode, periodic GC

Signal count grew from 11→17 (2^17=131K combos), causing 5,958 combos per chunk × 6K bets × betKeys/profits arrays to exceed 8GB heap.

Signal count grew from 11→17 (2^17=131K combos), causing 5,958 combos per chunk × 6K bets × betKeys/profits arrays to exceed 8GB heap.

--lean mode drops per-bet arrays (summary stats only), reducing memory ~100x. Periodic gc() calls every 100 combos prevent buildup.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

Files Changed

Commit:7691453