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

thread.detach == resource leak ? #18

Open
zigster64 opened this issue Sep 18, 2023 · 3 comments
Open

thread.detach == resource leak ? #18

zigster64 opened this issue Sep 18, 2023 · 3 comments

Comments

@zigster64
Copy link
Owner

image
Memory usage is a LOT better, but its still growing at a slow but steady rate.

See https://github.com/zigster64/pthread-test for a deeper dive into getting memory stats based on pthread usage

@zigster64
Copy link
Owner Author

So added a thread-pool branch to http.zig and building and testing again based on using a size 16 thread pool

https://github.com/zigster64/http.zig/tree/thread-pool

Lets see if we can get us a flat line for the next week then

@zigster64
Copy link
Owner Author

Here is the 6 week memory graph - you can see that the last climb has a lower rate than the earlier ones ... but it still climbs :(

image

@zigster64
Copy link
Owner Author

3 week graph - sitting on 10MB memory usage, and constant traffic

glorious !
image

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

1 participant