Skip to content

♻ Fix Memory Leak Issue#924

Open
enisn wants to merge 1 commit intoRedth:masterfrom
enisn:master
Open

♻ Fix Memory Leak Issue#924
enisn wants to merge 1 commit intoRedth:masterfrom
enisn:master

Conversation

@enisn
Copy link

@enisn enisn commented Oct 22, 2020

Summary

I use this library for a SaaS Application and my service sends more then millions of Push Notifications per day. As I can see memory usage is increasing slowly and after a couple of days, it reaches maximum of physical memory. I've just made some improvement and disposing logic for undisposed objects.

What was changed?

  • Add dispose scenarios for HttpClient
  • Add using scope for StringContent & HttpResponseMessage

- Add dispose scenarios for HttpCleint
- Add using scope for StringContent & HttpResponseMessage
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.

1 participant