#does bun accept `--max_old_space_size=...`

1 messages · Page 1 of 1 (latest)

stone palm
#

e.g.

export NODE_OPTIONS='--max_old_space_size=81920' && bun run index.ts
dim flicker
#

no but if you want to force a ram size

#

you can set

#

BUN_JSC_forceRAMSize=number

stone palm
#

as an environment variable?

#

what's the default value for that and max it can take?

dim flicker
#

its automatically set

#

uint64 max

dim flicker