PostgresSQLConnection does not seems freed (memory leaks?) #18263
Labels
bug
Something isn't working
performance
An issue with performance
sql
Something to do with `sql` in the "bun" module
What version of Bun is running?
1.2.5
What platform is your computer?
Linux a228628fd653 6.6.31+rpt-rpi-2712 unknown
What steps can reproduce the bug?
create a website using
drizzle-orm
+bun:sql
, run for a dayWhat is the expected behavior?
the PostgresSQLConnection Object should be freed, at least not this much.
What do you see instead?
Additional information
I do check from the postgres database, there is no active connection from the website, those connection already closed
Update:
After few trying, can confirm this issue will only happens when
idleTimeout
is set, the closed connection does not freed properly, the memory usage seems normal when the connection is presistent (no more connection created)The text was updated successfully, but these errors were encountered: