Files
OmniRoute/bin
Diego Rodrigues de Sa e Souza c57aa04d41 fix(cli): auto-calibrate server V8 heap from physical RAM (#5172) (#5213)
The server was spawned with a fixed --max-old-space-size=512 (omniroute serve)
or no heap flag at all (Electron), so RAM-rich boxes still OOM-crashed under
load (Ineffective mark-compacts near heap limit ~500MB) with many providers/
accounts and large model catalogs. New calibrateHeapFallbackMb(os.totalmem())
defaults the heap to ~35% of RAM clamped [512,4096], wired into serve.mjs and
electron/main.js. Explicit OMNIROUTE_MEMORY_MB still wins (#2939 unchanged).

Also addresses #5160 (same OOM root); #5152 (docker) benefits via the same knob.

Closes #5172
2026-06-28 03:56:10 -03:00
..
2026-06-25 13:17:40 -03:00
2026-06-25 13:17:40 -03:00
2026-06-13 17:27:40 -03:00
2026-06-23 03:08:29 -03:00
2026-06-06 19:13:11 -03:00
2026-06-25 13:17:40 -03:00
2026-06-25 13:17:40 -03:00
2026-06-25 13:17:40 -03:00
2026-06-25 13:17:40 -03:00