-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Open
Labels
Description
What version of Bun is running?
oven/bun:1-slim docker image
What platform is your computer?
Ubuntu 24
What steps can reproduce the bug?
On my server I have limited resources (16gb ram), and when I run a build with bun --bun run build, memory usage spikes to over 4 GB until the process freezes and crashes.
Running the same build with Node.js uses about 1 GB of RAM.
Unfortunately, limits such as BUN_JSC_forceRAMSize=3221225472 or --max-old-space-size=2048 do not work. This is a serious problem for my CI/CD pipeline.
I appreciate any help on this.
What is the expected behavior?
No response
What do you see instead?
No response
Additional information
No response