Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory leak SQL client #17063

Closed
askareija opened this issue Feb 5, 2025 · 4 comments
Closed

Memory leak SQL client #17063

askareija opened this issue Feb 5, 2025 · 4 comments
Labels
bug Something isn't working needs triage

Comments

@askareija
Copy link

What version of Bun is running?

1.2.2

What platform is your computer?

k8s container

What steps can reproduce the bug?

Recently youtube channel Anton Putra @antonputra released a video benchmarking Bun vs Deno 2 vs Node. On second test it reveals memory leak when querying database.

Video Link: https://www.youtube.com/watch?v=DpDHPoStZZ8&t=80s

Image

Link to the project: https://github.com/antonputra/tutorials/tree/241/lessons/241/bun-app

What is the expected behavior?

Expecting low memory usage like Node & Deno

What do you see instead?

Memory usage spikes

Additional information

No response

@askareija askareija added bug Something isn't working needs triage labels Feb 5, 2025
@Jarred-Sumner
Copy link
Collaborator

Fixed in #17026

@kravetsone
Copy link

@antonputra do you interesting to show us fixed results 👀

@antonputra
Copy link

antonputra commented Feb 5, 2025

@kravetsone in a few months or if any of the runtimes releases a major update

@kravetsone
Copy link

@kravetsone in a few months or if any of the runtimes releases a major update

im also wait more benchmarks with Bun because it so interesting

with not only js runtimes

thanks for the videos!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
None yet
Development

No branches or pull requests

4 participants