I deployed a Bun v.1.1.45 app written with Elysia, Drizzle (with postgres.js driver), S3 (@aws-sdk/client-s3), and Redis (ioredis). Upon deploying the app and leaving it running overnight, I noticed that throughout roughly 13 hours, the app went from using 145mb to 205mb of RAM. Seeing as I have 5 cron jobs running, I decided to see if the issue persisted in my dev environment without any requests of any kind being made and no cron jobs running. With heapStats().heapSize and an interval, it starts at 18.76mb and after several minutes, it's now 20.33mb, and again, no requests or cron jobs running.
Is this a Bun issue? I couldn't find any memory leaks being reported on any of the software I mentioned, but I wanted to inform about my stack in case anything's relevant.