Skip to content

♻ Fix Memory Leak Issue - #924

Open
enisn wants to merge 1 commit into
Redth:masterfrom
enisn:master
Open

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

Conversation

@enisn

@enisn enisn commented Oct 22, 2020

Copy link
Copy Markdown

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

1 participant