I find our application becomes very slow, then always has no response,when Use the Intel Inspector XE to coolect the memory leaks or thread errors.
Who met this kind of phenomenon？how I should Set the something?
- Development Tools
- Intel® Inspector
- Parallel Computing
Tanks Peter Wang(Intel)
I Use mi1 or ti1 and Set stack Dept as 1,our project becomes quickly than before, but I Intentionally added a memory to constructor of one module, and Include this model.the Intel Inspector XE cannot find He memory leaks.
Was it possible that return address is a global variable? Before application exits, there is no leak detected.
Can you try allocation memory for local (stack) variable?
I try allocation memory for local variable ,but Intel Inspector XE also cannot find the memory Leak in our project.
I try added the same code to Smaller project,it can Find.the memory leaks.
Mybe I don't Set Optimization to Disabled(/Od),Now The Inspector XE Can Find this king of Memory Leaks.But It still Let our Application that Performance is very Low,I had Removed Modules do not to analyze.Especially Use mi2 or mi3
Using optimization switchers will not cause leaks not found. Anyway, it's good that you can find memory leaks for now.
You said, "...I Use mi1 or ti1 and Set stack Dept as 1,our project becomes quickly than before..." - if you still are not satisfied with this, you can use Collection Control APIs I posted at 02/05/2015 - 10:30 to reduce overhead.