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

fix mem leak - drop the JoinSets in the dynamic proxy connection loops #858

Merged
merged 2 commits into from
Jan 6, 2025

Conversation

rolyatmax
Copy link
Member

Ran locally and watched memory usage with htop while making a stream of requests to the proxy. Before this change, memory continued to increase with each request. After this change, memory rose slightly but then plateaued indefinitely.

@rolyatmax rolyatmax requested a review from paulgb January 6, 2025 14:49
Copy link

vercel bot commented Jan 6, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
plane ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 6, 2025 3:02pm

Copy link
Member

@paulgb paulgb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for this! one nitpick which is not blocking.

dynamic-proxy/src/server.rs Outdated Show resolved Hide resolved
@rolyatmax rolyatmax merged commit a9d5ccf into main Jan 6, 2025
6 checks passed
@rolyatmax rolyatmax deleted the taylor/fix-memory-leak branch January 6, 2025 15:26
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

Successfully merging this pull request may close these issues.

2 participants