LEAK_BYTES_PER_HOUR
@forge/monorepo / backend/src / LEAK_BYTES_PER_HOUR
Variable: LEAK_BYTES_PER_HOUR
constLEAK_BYTES_PER_HOUR:number
Defined in: backend/src/loadtest/metrics.ts:129
The threshold: 32 MiB per hour.
Chosen to be well above JIT warm-up, heap fragmentation and a pool filling to its configured size, and well below anything that survives a night. A process leaking at this rate grows by 768 MiB a day, which is an incident; one growing at a tenth of it is noise a stricter threshold would report every run, and a detector that cries wolf is one people stop reading.