Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

obvious memory errors not detected

collider
Beginner
832 Views

Hi, i use parallel studio 2011 inspector in memory checker mode. I write a small test

double *pointer=new double[20];

pointer=new double[20];

delete []pointer;

but my memory checker dose not see any leaks! i configure my compiler like here

http://software.intel.com/en-us/articles/compiler-settings-for-memory-error-analysis-in-intel-parallel-inspector/

But its still not workong!

0 Kudos
5 Replies
Vladimir_T_Intel
Moderator
832 Views
Could you please share your project?
If needed, I can convert this forum thread to a private in order to exchange confidential information and source codes.
0 Kudos
collider
Beginner
832 Views
Sure, i can do itpublic - this project just an win32 console project with those 3 strings. But if you want to see a settings, can you say me how i can share this project in vs 2010? Just add all files?
0 Kudos
Vladimir_T_Intel
Moderator
832 Views
Zip the project and attach to this thread ('Add Files' in the control pane of the editor)
0 Kudos
collider
Beginner
832 Views

Funny, looks like it was my mistake. I write cin>>i; in the end of programm for waiting and always close it by clicking "close" so in this case of terminate inspector not working correct, but if i let programm close itself everything is fine!

0 Kudos
Vladimir_T_Intel
Moderator
832 Views
Hi,
This is the intended behaviour of the Inspector. An application should exit in a "normal way", i.e. without termination.
Thanks.
0 Kudos
Reply