PmaxBuffer
Bun

property

Spawn.SpawnSyncOptions.maxBuffer

maxBuffer?: number

The maximum number of bytes the process may output. If the process goes over this limit, it is killed with signal killSignal (defaults to SIGTERM).