Skip to content

mshameti/bun-memory-accumulation-formdata-fetch-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Potentially Related:

oven-sh/bun#5507 oven-sh/bun#7470

Run with:

LEAK=1 docker compose up --build

OR

LEAK=2 docker compose up --build

See terminal for logs of memory accumulation.

Attributions

This project uses third-party images. For detailed attribution information, please see the ATTRIBUTIONS.md file.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published