3 Replies
I'm gonna host some files which mostly dll files.
And I get 200req/s so I made an pool system but It seems not work async and so much allocate, so after three days, I may need help.
NetworkListener.cs
and it's gets so much allocate also after one time, can't handle requests.
RequestPool.cs
and it's gets so much allocate also after one time, can't handle requests.Like able to see in photos, It tooks 40s which just totally 23mb. :/
Oh 900mb ram usage
It's absolutely memory leak
I'm not sure if ProcessRequestsAsync really works correctly, I haven't used lock before, I came across an example on the internet and it solved it for a short time, but I may have used it wrong or I don't think it really works async.