-
Notifications
You must be signed in to change notification settings - Fork 41
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
Unmanaged memory leak in v5+ #264
Comments
Interesting, thank you @eddietibber! We'll take a look and report back! |
@eddietibber Oh. Found the leak. Patch is on the way out. Sorry about that, thanks for the bug report |
Swift response, thank you! |
Okay, 5.0.2 is out, which I believe closes this. Memory seems to be stable now running that same test. Thank you so much for reporting this @eddietibber! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Version 5.0.0 and 5.0.1 of the unleash dotnet client leaks unmanaged memory when calling
IUnleash.IsEnabled
. Cannot reproduce on v4.1.15To Reproduce
This code will reproduce it, referencing
Unleash.Client
v 5.0.0:Expected behavior
Very low unmanaged memory consumption
Screenshots
![swappy-20241128_134723](https://private-user-images.githubusercontent.com/125886690/390788736-7f256da5-d75c-4a89-b9a9-f6bfa6ca9b8d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0OTQ3MTEsIm5iZiI6MTczOTQ5NDQxMSwicGF0aCI6Ii8xMjU4ODY2OTAvMzkwNzg4NzM2LTdmMjU2ZGE1LWQ3NWMtNGE4OS1iOWE5LWY2YmZhNmNhOWI4ZC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxNFQwMDUzMzFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04YjZhYjg1OGU4YTE5YWZlYjhhZmY3NGY2YTIyMDA1MjNmOWE4ZDFjNWZmN2E4ZDk5Y2NlOTM4ODJiYmIxMDllJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.EFSq_lRt1FE4Eb6Q5VuR0_yzkdBwOsILb5rcDHdh9Q8)
Over 600MB unmanaged memory allocated after just 15s
Desktop:
Server:
Additional context:
![swappy-20241128_135401](https://private-user-images.githubusercontent.com/125886690/390790052-49ee945b-9937-40f7-9588-75250e7b74e6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0OTQ3MTEsIm5iZiI6MTczOTQ5NDQxMSwicGF0aCI6Ii8xMjU4ODY2OTAvMzkwNzkwMDUyLTQ5ZWU5NDViLTk5MzctNDBmNy05NTg4LTc1MjUwZTdiNzRlNi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxNFQwMDUzMzFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zNWY0ODUwMGNhZDc4M2NkZDU1NDY3YWRhOTM0MjYyMDVjZDUzMDQxMzdlMWIxNjM1ZWU4MmFiYmFlMDlkNjBlJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.Zv96zbQsgziw_5CcY3_ZTkEI-VwJwLioYwoDrhJuZps)
This is the memory profile using v 4.1.15
The text was updated successfully, but these errors were encountered: