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 #1

Open
Jonatthu opened this issue Aug 16, 2024 · 4 comments
Open

Memory leak #1

Jonatthu opened this issue Aug 16, 2024 · 4 comments

Comments

@Jonatthu
Copy link

Jonatthu commented Aug 16, 2024

When using opentelemetry following the documentation there is a memory leak or constant usage increase.
Without OpenTelemetry: he app usually goes from 500mb to 800mb under 5 hours.
With OpenTelemetry: 500mb to 4.2gb under 5 hours, once I remove the open telemetry set up it goes back to normal.
image

@Jonatthu
Copy link
Author

It seems that with or without it eventually will but just faster

image

@emilianomonzaia
Copy link

I can confirm that. This is also happening here.

We've doubled our instance resources and the leak continues.

@michaelgmcd
Copy link

@emilianomonzaia @Jonatthu Are you guys still running into this? Considering switching to Elysia, but this would be a pretty major blocker.

@Jonatthu
Copy link
Author

I moved away to Bun serve alone with trpc fetch http handler and it's done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants