Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The memory usage difference you're seeing is likely a GC scheduling issue in Bun (not a JS engine thing)

Bun isn't scheduling the garbage collector between microtask ticks and we might need to start doing that to reduce memory usage. We did that in Bun v0.3 for the event loop, but we didn't do it for the microtask queue.



Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: