Minimal reproduction of issue involving memory accumulation and a subsequent crash using Bun 1.1.26 running in a container.
Conditions for this to occur:
- Running in a containerized environment.
- Repeatedly sending FormData as request bodies in fetch().
Node included for comparison that shows no memory accumulation.
oven-sh/bun#5507 oven-sh/bun#7470
LEAK=1 docker compose up --build
OR
LEAK=2 docker compose up --build
See terminal for logs of memory accumulation.
This project uses third-party images. For detailed attribution information, please see the ATTRIBUTIONS.md file.