-
I have a problem. When msquic client handles large traffic, msquic will always apply for memory, and eventually the memory runs out. During this period, the sending efficiency will become lower and lower, and finally become zero. However, if the flow is controlled within the range of a small amount of packet loss, this will not happen. At first, I suspected that there was a memory leak, but if you stop the large flow processing, the memory can be free. Do you have any suggestions to help me? Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 5 replies
-
Curious. What environment are you running where memory is so limited? I am wondering if our allocation pools are too big/aggressive for your environment. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
You're running the 32 bit executable. We never run the 32 bit executable, and optimize for 64 bit executables. I wouldn't be super surprised if our caching ends up causing issues. Especially with lots of clients, theres a lot of buffers that need to be held in memory. I'll do some checking to make sure we don't have a 32 bit mode exclusive leak, but can you try 64 bit and see if that still runs into similar issues? |
Beta Was this translation helpful? Give feedback.
-
Thank you for your reply Through your answer, I seem to have guessed some questions. Now I copy all traffic to quic, and then join the queue through streamsend. I thought streamsend would discard the traffic. I also read the code and saw some protection measures. Please forgive me for not reading the code carefully. It seems that I need to take some restrictive measures myself. I need to ensure that the traffic is not too large when calling streamsend. Maybe that's what caused the problem. Thank you very much for your help!!! |
Beta Was this translation helpful? Give feedback.
-
First of all, thank you for your help. I have solved the problem by limiting the depth of SendRequestPool. My idea is that you need to limit the unlimited expansion of SendRequestPool. Thanks again!!! |
Beta Was this translation helpful? Give feedback.
First of all, thank you for your help. I have solved the problem by limiting the depth of SendRequestPool.
My idea is that you need to limit the unlimited expansion of SendRequestPool.
Thanks again!!!