Home > other >  The select socket did not reach the maximum link possibility of collapse;
The select socket did not reach the maximum link possibility of collapse;

Time:10-04

I know the influence factors of: fd is full, memory, CPU,
Is there any other possibilities, such as the code level

CodePudding user response:

Talk is harmful; Chinese,

Wilson:
it is no use
Collapsed in the pop-up dialog box, press the corresponding button to enter debugging press Alt + 7 key to view the Call Stack, namely "the Call Stack" from the inside to the following out of from the inner to outer function Call history, double-click a row to the cursor to the Call of the source code or assembly instruction, don't understand when double click on the next line, until we can read ,

One way to check whether resource leaks:
In the process of the task manager to see inside the column selection: memory, virtual memory size, handle number, number of threads, the USER object, GDI objects
Make your program (process) don't quit, cycle through main process many times, the more the better, like 1000000 times or even an infinite loop, record the above numerical, it through at least one hour, as long as possible, such as a month, to record more than the value, if the above two groups of numerical differential is bigger or increasing over time, will certainly have a corresponding resources resource leaks!

Search "GDI leak detection"

CodePudding user response:

Interview time problem, just want to know
  • Related