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

Create leaky goroutine pool #2469

Closed
wants to merge 6 commits into from
Closed

Create leaky goroutine pool #2469

wants to merge 6 commits into from

Conversation

bryanhuhta
Copy link
Contributor

This modifies the rideshare example to include leaky goroutines. This should in turn simulate increased memory usage as the goroutines hang and are never cleaned up by the Go runtime.

I haven't tested this yet, so the leaking goroutines may take too long to become noticeable. We could also add a parameter which causes the leaked goroutine to allocate some memory to speed memory allocations.

@bryanhuhta
Copy link
Contributor Author

Using #2610 in favor of this one, as the implementation is more straightforward.

@bryanhuhta bryanhuhta closed this Oct 30, 2023
@bryanhuhta bryanhuhta deleted the memory-examples branch November 3, 2023 23:11
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.

None yet

1 participant