- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
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?
thanks
Jesse
- Tags:
- CC++
- Debugging
- Development Tools
- Fortran
- Intel® Inspector
- Optimization
- Parallel Computing
- Vectorization
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
And, please use mi1 or ti1 instead of m3 or ti3, set stack depth as 1.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
-
A::A(void) { for (int i =0; i<100;i++) { p= new QThread; } }
-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks,
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Was it due to no debug(symbol) info generated when compiling? Please use "-g" for Linux*, "/Zi /DEBUG" for Windows*.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks.
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks .
I understand what you mean.I Will try it.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page