Home > Software engineering >  Turn the TCP problem
Turn the TCP problem

Time:09-18

I in Windows 7, vs2010 environment, using TCP protocol after the send, the footprint will continue to increase, and in xp, vc6 compile environment is no problem, how be to return a responsibility excuse me?

CodePudding user response:

The receiver is normal? Is unlimited increase? If the receiver did not read and cause the system cache the data?

CodePudding user response:

reference 1st floor zgl7903 response:
receiver is normal? Is unlimited increase? If the receiver did not read and cause the system cache the data?

The receiver is very normal, the data also out,
Sender if close links, the memory will be recycled, keep the link's not memory will continue to increase,

CodePudding user response:

reference 1st floor zgl7903 response:
receiver is normal? Is unlimited increase? If the receiver did not read and cause the system cache the data?

In the sender will be unlimited increase memory, tried tcp_nodelay is useless, only close links to free memory, also no problem in using vs2010 compiler running xp, strange question, did not find the reason,

CodePudding user response:

Should and the environment is not big, if relevant, the Windows 7 should hang up early,
Can use windbg UMDH see where is the memory up in the

  • Related