Home > Software engineering >  The thread of memory
The thread of memory

Time:10-07

Opened A thread A in the main thread, the thread A in an infinite loop, I have no new in the infinite loop, why my memory is increasing?

CodePudding user response:

Mallco applications will be up to look at it pointer manipulation release code and see if you have any questions

CodePudding user response:

VMMap is process of virtual and physical memory analysis utility, http://technet.microsoft.com/zh-cn/sysinternals/dd535533

CodePudding user response:

If there is a calling application resources API thread

CodePudding user response:

You are not new, but you call the function or internal objects created by the new

CodePudding user response:

If there are any resource deadlock?

CodePudding user response:

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"
  • Related