Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

Memory leak tools

newtonesque
Beginner
846 Views
Are there any tools, similar to Purify, to help locate memory leaks in C code on Linux on IA64? I believe that Purify for Linux is only available for the x86 architecture.
0 Kudos
5 Replies
Mark_S_Intel1
Employee
846 Views
See "MemorySscape" by TotalView Technologies http://www.totalviewtech.com/support/ms-v-linux-ia64.html

--mark
0 Kudos
cfspc
Beginner
846 Views
Have you tried valgrind http://valgrind.org?
0 Kudos
dpeterc
Beginner
846 Views
I also use Valgrind and highly recommend it.

Another commercial product for this problem is Insure++ from Parasoft.
http://www.parasoft.com/jsp/products/home.jsp?product=Insure&itemId=63
It has a nice interface, good diagnostics, its own compiler, but is very slow (like 50 times slower than normal debug run).
So is only good for pinpointing a known problem, not for generic testing (unless you do unit testing). Actually, valgrind is the same in this respect.
Insure also does static code analysis.
I have used Insure about 5 years ago, but it does not seem to evolve very much in the recent years.

On the other side Valgrind made great progress. Unfortunately, I still can't get what I liked most about Insure - a gui interface which will position me in the source line of the error, when a memory leak, or illegal memory access occurs.

0 Kudos
Dny
Beginner
846 Views
Quoting - dpeterc
I also use Valgrind and highly recommend it.

Another commercial product for this problem is Insure++ from Parasoft.
http://www.parasoft.com/jsp/products/home.jsp?product=Insure&itemId=63
It has a nice interface, good diagnostics, its own compiler, but is very slow (like 50 times slower than normal debug run).
So is only good for pinpointing a known problem, not for generic testing (unless you do unit testing). Actually, valgrind is the same in this respect.
Insure also does static code analysis.
I have used Insure about 5 years ago, but it does not seem to evolve very much in the recent years.

On the other side Valgrind made great progress. Unfortunately, I still can't get what I liked most about Insure - a gui interface which will position me in the source line of the error, when a memory leak, or illegal memory access occurs.


Valgrind is very good tool for profiling applicatin and finding memory leaks and runtime errors on Linux system


0 Kudos
sjcazzol
Beginner
846 Views
Quoting - newtonesque
Are there any tools, similar to Purify, to help locate memory leaks in C code on Linux on IA64? I believe that Purify for Linux is only available for the x86 architecture.

Hi, I work at Intel ASDC (Argentina Software Development Center), we are developing an application in C++ and we are trying to use a runtime analysis tool to measure code coverage and find memory leaks. Our objective is compile the product that we are developing with ICC.

We made some tests with IBM Purify Plus compiling in debug mode as this tool requires. This tool does not work compiling with ICC but it works compiling with gcc or visual studio compiler.

Are you aware of this issue? Is there a known solution?

Thanks
Best Regards
0 Kudos
Reply